GenkitG
Genkit•8mo ago
rubber-blue

Based on the multi-agent approach in the

Based on the multi-agent approach in the docs, I created two agents.

A few days ago, a simple request that requires the triage agent to use 2 of its tools (format and save) is failing without either one of the tools being called and an empty response. Any subsequent requests fail because of the dirty session history. The only way to get it working again is to go to my session store in Firestore and delete the latest dirty model response, but by doing so, the agent fails at correctly accessing information from the history.

The only changes I made were slightly changing the system prompt for the Triage agent and a bigger change to the system prompt for the specialist agent.

Any ideas?
Was this page helpful?