amurgio
03/13/2025, 8:19 PMVapi Support Bot
03/13/2025, 8:20 PMVapi Support Bot
03/13/2025, 8:20 PMVapi Support Bot
03/13/2025, 8:20 PMjavascript
const message = {
type: 'add-message',
message: {
role: 'system',
content: 'Your updated prompt here',
},
triggerResponseEnabled: false
};
Setting triggerResponseEnabled: false
allows updates without generating additional responses [source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343457322072145950).
2. Implement variable substitution within your system prompts:
javascript
const assistant = {
model: {
messages: [
{
role: 'system',
content: 'Your prompt with {{variable}}'
}
]
}
};
This allows for seamless updates during interactions [source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343457322072145950).
3. Ensure correct API usage by verifying that fields like first_message
and system_prompt
are present in your API requests [source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238).
While there aren't specific settings to disable caching, these approaches should help mitigate the issues you're experiencing. Regarding logging out or using incognito mode - I couldn't find specific information about this in the documentation, but these approaches might help reset client-side caching in your browser.
Sources:Vapi Support Bot
03/13/2025, 8:21 PMVapi Support Bot
03/13/2025, 8:27 PM