Skip to content

A platform for community discussion. Free, open, simple.

390 B
Raw Blame
import { hash } from "@ember/helper";
import ComboBox from "discourse/select-kit/components/combo-box";

const AiLlmSelector = <template>
  <ComboBox
    ...attributes
    @content={{@llms}}
    @onChange={{@onChange}}
    @options={{hash
      filterable=true
      none="discourse_ai.ai_agent.no_llm_selected"
    }}
    @value={{@value}}
  />
</template>;

export default AiLlmSelector;