Voice Pipeline, command isn't processed locally

Hi there,

I am using a voice pipeline to talk to Home Assistant. I have a LLM configured but prefer local handling. This is working well in the most cases.
Now I see that some commands are handled by the LLM in case of handled locally. So I deactivated the LLM in the pipeline and set it to “Home Assistant”. After that the same command is handled by HA. So the command is able to be handled by HA but my configuration “prefere locally” doesn’t work (just in some cases).

Is there any other configuration than “prefer locally handling = true” I missed? What am I doing wrong? Cause the LLM is a bit slower and I have to pay for each request, I want to use local handling everytime if its possible. :slight_smile:
image

Here are my scenarios:


Thanks and kind regards,
Tobias

If a phrase with a local command is not the first message in a conversation (the history is reset after 5 minutes of inactivity), there is a chance that it may not be processed locally.
This is a bug, but its nature is unknown. It is necessary to carefully analyze the logs of these cases and search for the cause in the code.
I haven’t found any patterns yet.

Thanks for your reply. Do you have further information or is there a GitHub issue for that? I can reproduce this very stable l, may I can help to find the cause if the issue.

I will try to get some logging information in the next days.