-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Gemini Integration release 0.4.7 breaks usage with LATS Agent Worker #17743
Comments
The error you're encountering with the Gemini Integration release 0.4.7 seems to be related to the handling of tool calls. Specifically, the In version 0.4.7, the Gemini LLM integration added support for basic function calls, which might have introduced changes in how tool calls are processed [3]. If your current implementation relies on tool calls being present, you might need to adjust your code to handle cases where no tool calls are returned, or modify the If this change in behavior is not suitable for your use case, you may need to explore alternative techniques or configurations that align with the new integration's capabilities. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Actually, this isn't a bug. Gemini was updated to use their official tool calling API, and in this case, it did not call the tool to get a structured output. You'll need to adjust your tool name/description and prompt. I don't think gemini has a way to force the tool call, but lemme check |
Hmm, looks like the do have a forced tool call API, lemme integrate this |
|
I'll check it out and let you know. Thanks! |
Bug Description
Using .achat and .astructured_predict with this release's Gemini LLM integration throws the following error:
Is this still supported or do we have to now use another technique?
Version
0.12.16
Steps to Reproduce
Using .achat (in LATS) and .astructured_predict with this release's Gemini LLM integration, specifically in the base implementation of LATS agent (but, has been tested with the base .astructured_predict)
Relevant Logs/Tracbacks
The text was updated successfully, but these errors were encountered: