mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Make get_chat_session a callback context manager (#137146)
This commit is contained in:
@@ -1094,7 +1094,7 @@ class PipelineRun:
|
||||
|
||||
# It was already handled, create response and add to chat history
|
||||
if intent_response is not None:
|
||||
async with (
|
||||
with (
|
||||
chat_session.async_get_chat_session(
|
||||
self.hass, user_input.conversation_id
|
||||
) as session,
|
||||
|
||||
Reference in New Issue
Block a user