GenkitG
Genkitโ€ข4mo agoโ€ข
1 reply
then-purple

Hi guys and girls, congrats on the 1.0

Hi guys and girls, congrats on the 1.0 release. I've started developing with Genkit since I heard the news of 1.0. So far I've implemented my own version of the chat feature that's present in Golang in order to build a demo chat app with an assistant that can make booking etc.. This is all just for fun.

One issue I'm having is that occasionally the LLM will make a tool request with the incorrect arguments and this results in an error. Ideally I'd like the agent to retry this time with the error present in the conversation history so that the LLM can attempt the tool request with (hopefully) the correct arguments. I've looked extensively at the source code and can't seem to find an easy way to do this mainly because errors related to marhsalling of tool args all have the status code of INTERNAL which is quite broad.

Would love if someone could let me know what they think of this issue and if I'm missing something? Thanks in advanced!
Was this page helpful?