mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +00:00
Hide conversation agents that are exposed as agent entities (#116813)
This commit is contained in:
parent
59349d2859
commit
33e9a6bd58
@ -142,6 +142,9 @@ async def websocket_list_agents(
|
|||||||
agent = manager.async_get_agent(agent_info.id)
|
agent = manager.async_get_agent(agent_info.id)
|
||||||
assert agent is not None
|
assert agent is not None
|
||||||
|
|
||||||
|
if isinstance(agent, ConversationEntity):
|
||||||
|
continue
|
||||||
|
|
||||||
supported_languages = agent.supported_languages
|
supported_languages = agent.supported_languages
|
||||||
if language and supported_languages != MATCH_ALL:
|
if language and supported_languages != MATCH_ALL:
|
||||||
supported_languages = language_util.matches(
|
supported_languages = language_util.matches(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user