home-assistant / home-assistant/android

Chat window hangs when LLM Voice response sent to STT

Open
#6,251 13 comments 1 reaction 0 assignees View on GitHub
Assist bug
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

**Home Assistant Android app version(s):**

**Android version(s):** 16

**Device model(s):** S25+

**Home Assistant version:** 2026.1.1

**Last working Home Assistant release (if known):** 2026.1.1

**Description of problem, include YAML if issue is related to notifications:**

**Companion App Logs:**

```

THis is a hopeassistant error that only exhibits when using the new BETA compainion=

Repro - 2026.1.1 with latest android companion - GPT5.1 mini based assistant (openAI) Assist local first OFF (LLM ONLY)

Any ask - HARD hangs the chat UI when the TTS starts to attempt to stream. Only option is to swipe closed the window. OR stop the chat before it starts voice - and use text only. (Not viable workaround for my case)

This error accompanies in the HA Core log (On debug)

Logger: homeassistant.components.assist_pipeline.pipeline
Source: components/assist_pipeline/pipeline.py:1298
integration: Assist pipeline (documentation, issues)
First occurred: 9:19:02 AM (6 occurrences)
Last logged: 9:27:28 AM

Unexpected error during intent recognition
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 1298, in recognize_intent
conversation_result = await conversation.async_converse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/components/conversation/agent_manager.py", line 126, in async_converse
result = await method(conversation_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/conversation/entity.py", line 55, in internal_async_process
return await self.async_process(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/conversation/entity.py", line 68, in async_process
return await self._async_handle_message(user_input, chat_log)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/openai_conversation/conversation.py", line 84, in _async_handle_message
await self._async_handle_chat_log(chat_log)
File "/usr/src/homeassistant/homeassistant/components/openai_conversation/entity.py", line 636, in _async_handle_chat_log
[
...<5 lines>...
]
File "/usr/src/homeassistant/homeassistant/components/conversation/chat_log.py", line 543, in async_add_delta_content_stream
self.delta_listener(self, filtered_delta)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 1209, in chat_log_delta_listener
self.tts_stream.async_set_message_stream(tts_input_stream_generator())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/tts/__init__.py", line 546, in async_set_message_stream
self._result_cache.set_result(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self._manager.async_cache_message_stream_in_memory(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
)
^
)
^
asyncio.exceptions.InvalidStateError: invalid state

```

**Screenshot or video of problem:**

N/A - assist chat hangs upon starting streaming

**Additional information:**
First popped when the beta released - was posted to core - - we thought it was related to the issues in 2026.1.0 - just updated to 2026.1.1 and while the error I had with OAI is now clear in 2026.1.1 the ewrror with the Android client voice remains - MUST rollback for functional device. - Sorry I i vote no for this current beta guys.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.