discourse-ai/assets/javascripts/discourse/components/ai-llm-selector.gjs
2025-05-29 15:40:46 +10:00

17 lines
383 B
Text

import { hash } from "@ember/helper";
import ComboBox from "select-kit/components/combo-box";
const AiLlmSelector = <template>
<ComboBox
@value={{@value}}
@content={{@llms}}
@onChange={{@onChange}}
@options={{hash
filterable=true
none="discourse_ai.ai_agent.no_llm_selected"
}}
class={{@class}}
/>
</template>;
export default AiLlmSelector;