Issue with tool calls in Agent Component.
There is an issue with the Agent Component that when all the tool call error out the tool call record is not created as a result the tool call result is shown as success in the end UI Message and the args of the tool calls are also not stored in the database. I have raised the issue for the same on github here: https://github.com/get-convex/agent/issues/162.
2 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Whenever there is an error with the tool call the output of the tool call in should be shown as output-error. The tool call error is saved when there is an error. But when all the tool call error out then the arguments of the tool call are lost that record is not created in the database. As a result the end output shows the tool call output as output-available and that there was no error with the output.