kfirooK
Convex Community6mo ago
2 replies
kfiroo

Agent does not continue after tool result

Hey,
I have an agent set up with a rag-search tool.

I am building a multi tenant system so I create my Agent with its tenant-context-tool on demand for each request.

I have a simple streaming setup pretty much straight out of the docs.

When I send a message to the agent I can see it calls the search tool, I can see the tool responds with some text from the RAG search.

The issue is that the thread stops here - the agent does not pick up on the tool-result - and does not generate the actual response for the user.

Any thoughts?

Thanks
Was this page helpful?