m50 / ha-fallback-conversation

HomeAssistant Assist Fallback Conversation Agent
MIT License
21 stars 3 forks source link

Use ConversationAgentSelector instead of a custom select #2

Closed t0bst4r closed 3 months ago

t0bst4r commented 3 months ago

In order to select the primary and fallback agents, the options Flow uses a custom list in its schema to show a dropdown with all available agents. The list of existing agents is created based on their names (which are not unique).

Instead the built-in ConversationAgentSelector could be used. It creates a dropdown with all available agents out of the box and also shows an „edit“ button next to the dropdown to jump directly into the selected agent’s config.

m50 commented 3 months ago

Yeah, knowing about that, I definitely would like to get this change implemented.

I might make the changes I want to make to config in 2 separate PRs, though I will happily accept a PR as well :)

m50 commented 3 months ago

Implemented in #3