Hide conversation agents that are exposed as agent entities (#116813)

This commit is contained in:
Paulus Schoutsen 2024-05-04 20:09:38 -04:00 committed by GitHub
parent 59349d2859
commit 33e9a6bd58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,6 +142,9 @@ async def websocket_list_agents(
agent = manager.async_get_agent(agent_info.id)
assert agent is not None
if isinstance(agent, ConversationEntity):
continue
supported_languages = agent.supported_languages
if language and supported_languages != MATCH_ALL:
supported_languages = language_util.matches(