We use the update-call API to override the agent dynamic variables. The variables are visible to the agent and in get-call responses, but they do not appear in the call history’s Data tab for debugging. The variable update doesn’t appear in the Detail Logs tab either.
Hey @ccops
Could you please share the call IDs and the Agent ID? where you faced that issue. This will help our team investigate the issue more effectively.
Thank you!
Sorry, we added a workaround (the agent invokes another tool endpoint later, which includes the variables in the response), and so this got to the back of my queue.
Here is an example call id: call_f53f7f55be0f1b6510e827b339c call_6c699a0d6fcff3a10d322d1c7f4 with agent agent_d6fa5e85432958217e1b255ac5.
The agent has a transition with condition {{override_test_variable}} = updated and it matches, ending the call.
The get call endpoint also return it:
"override_dynamic_variables": {
"override_test_variable": "updated"
},
Thanks
Dan
There’s an Override Dynamic Variables section in the call history UI now, thank you!
Hi @ccops A patch for this issue was released recently. The override_dynamic_variables field should now be visible in the call history.
As you confirmed it’s working now, we’ll consider this resolved.
Thank You