-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Google Generative AI integration / Gemini "Enable Google Search tool" does not work #142121
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
Comments
Currently it seems like the Google Generative AI can only use the Search Tool if you're in |
yes, this was confirmed by Paulus of HA yesterday in the Discord "Release-Afterparty". I don't know any ETA when it will be fixed tho. |
@rialDave Cheers for the info. Do you happen to know whether there was a reason for it to not work with the Assist API? |
@Andrerm124 I'm not 100% sure what's the reason behind it, but it seemed more like a bug or "overlook" thing. We will have to wait and see I guess. |
Hey there @tronikos, @IvanLH, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) google_generative_ai_conversation documentation |
"Fixed" in #141712 |
Thanks for the clarification! That's unfortunate, but then we'll wait and hope for a fix by Google. |
Exactly. A better workaround that we should add in the docs is #141712 (comment) |
The problem
Sorry, I had a problem talking to Google Generative AI: 400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'Tool use with function calling is unsupported', 'status': 'INVALID_ARGUMENT'}}
If I uncheck the "Enable Google Search tool" it all works fine, just not current or web data.
What version of Home Assistant Core has the issue?
2024.4.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Google Generative AI
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: