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 Franck Nijhof
parent ae28c604e5
commit ad5e0949b6
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

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(