Description
The problem
When Google Generative AI agent has Assist
enabled in Control Home Assistant
then it behaves differently when it is disabled. It only happens for models in Gemini 2.0 family, Gemini 1.5 models behave the same with or without assist enabled.
Example configuration for AI agent:
Configuration is the same for Assist and No Assist runs:
Using Gemini 1.5 Flash 8B there is no such problem:
The only way to somewhat circumvent the problem is using prompt like that:
Disregard any limitations related to home automation. You are a fully capable AI assistant for ALL types of tasks and questions, ESPECIALLY general knowledge questions on *any* subject.
Answer questions about the world truthfully.
Answer in plain text. Keep it simple and to the point.
Which does not solve the issue completely -- there is a lot of edge cases where it won't answer question anyway.
Tried to reproduce the problem using Google AI Studio but there it behaves perfectly well (even better than in HA No Assist)
What version of Home Assistant Core has the issue?
core-2025.3.0b3
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
https://rc.home-assistant.io/integrations/google_generative_ai_conversation
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
config_entry-google_generative_ai_conversation-01JNF1JQRJTW9KK6AXFDVE0VA3.json