LLM Passthru to Google Not Working w/Sophia NLU v2.3.2

bigdigger
Oct 2026
4 posts
0 likes
Member
LLM Passthru to Google Not Working w/Sophia NLU v2.3.2
Posted Thu Oct 22nd 18:20• Last edited Thu Oct 22nd 18:21

Sophia NLU v2.3.2 — Google Gemini LLM passthrough fails with Unknown intent HassError

Environment - Sophia NLU v2.3.2 - Home Assistant Core 2026.10.2 with Sophia NLU custom integration - LLM Provider: Google - Model: gemini-3.5-flash-lite - LLM Trigger: ask AI

Issue:

Sophia successfully processes standard Home Assistant commands but fails when attempting to forward general-knowledge questions to Google.

Steps to reproduce:

  1. Configure Google as the LLM provider with a valid API key.
  2. Set the model to gemini-3.5-flash-lite.
  3. Set the LLM trigger to ask AI.
  4. Submit: "Ask AI what is 2 plus 2?"

Actual result:

intent HassError:
  error: Unknown intent HassError

Home Assistant logs:

custom_components/sophia_nlu/conversation.py:531

homeassistant.helpers.intent.UnknownIntent:
Unknown intent HassError

Troubleshooting performed:

  • Confirmed normal Home Assistant commands work (i.e. Turn on the Kitchen Lights).
  • Independently tested Google's API using a curl command in terminal session.
  • Restarted Sophia NLU after updating the configuration.
Matt
Apr 2025
94 posts
0 likes
Member
Posted Thu Oct 22nd 18:47• Last edited Thu Oct 22nd 18:48

Please ensure the API URL within the settings is set to: https://generativelanguage.googleapis.com/v1beta/openai/chat/completions

Plus please double check that the API key is correct.

Let me know if that solves it.

bigdigger
Oct 2026
4 posts
0 likes
Member
Posted Thu Oct 22nd 19:31
Quote by Matt
Please ensure the API URL within the settings is set to: https://generativelanguage.googleapis.com/v1beta/openai/chat/completions Plus please double check that the API key is correct. Let me know if that solves it.

I do not see an API URL field within settings when Google is selected, also as stated above I have tested the API key using a CURL command from the HA terminal.

Matt
Apr 2025
94 posts
0 likes
Member
Posted Fri Oct 23rd 19:44

You're right, and my bad. This is a bug on my end.

A patch upgrade is coming out shortly and will include the fix. Will be out tonight or tomorrow.

Quick Reply

You must be logged in to reply to this thread.

Login Register