Purge voiceflow cache?
I have an issue with my agent that is running on outdated information. The prompt contained instructions to put out a timeline of events but for testing purposes I changed the prompt to <just write the word "hello">.
It still gives me a list of upcoming events, even with knowledge base access deactivated and the new one-liner prompt.
I deleted my browser cache and restarted voiceflow canvas.
Does anybody know about this issue? Is it a voiceflow cache?
2 Replies
It’s almost never a “Voiceflow cache” issue – the platform simply keeps serving the last version that was compiled/published.
Here’s what to check:
1. Re-compile the development version
• After you edit the Agent prompt, hit the blue Run button in the top-right of the canvas.
• This recompiles the diagram and is the version the in-app Test/Prototype tool uses. 2. Re-publish the production version (if you’re testing through a shareable prototype link, API, web-chat, etc.)
• Click Publish in the top-right after your changes.
• Anything pointing at the prod endpoint keeps using the previously-published build until you do this. 3. Start a fresh conversation • End the current chat session or press Reset in the Test tool so there’s no lingering memory from earlier runs.
• Opening the Prototype/Test tool in a new tab also gives you a clean session. That’s all that’s required—there’s no separate cache to clear on the Voiceflow side. Once you Run (for dev) or Publish (for prod) and start a new session, the updated one-liner prompt should be the only instruction the Agent sees. Docs reference: https://docs.voiceflow.com/docs/agents (Updating your version – “Click the blue Run button… / Click the Publish button…”)
• This recompiles the diagram and is the version the in-app Test/Prototype tool uses. 2. Re-publish the production version (if you’re testing through a shareable prototype link, API, web-chat, etc.)
• Click Publish in the top-right after your changes.
• Anything pointing at the prod endpoint keeps using the previously-published build until you do this. 3. Start a fresh conversation • End the current chat session or press Reset in the Test tool so there’s no lingering memory from earlier runs.
• Opening the Prototype/Test tool in a new tab also gives you a clean session. That’s all that’s required—there’s no separate cache to clear on the Voiceflow side. Once you Run (for dev) or Publish (for prod) and start a new session, the updated one-liner prompt should be the only instruction the Agent sees. Docs reference: https://docs.voiceflow.com/docs/agents (Updating your version – “Click the blue Run button… / Click the Publish button…”)
we did all that, the agent still gives the outdated information
we figured out that the previous message from the message block that leads to the agent overwrites the prompt of the agent afterwards.
We tried to add a Logic (last_utterance > null, last_response > null, vf_memory > null) between this message and the agent to delete all previous context before the agent is reached but it still didn't help!