mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-05-27 01:14:34 +08:00
* REFACTOR: Migrate Personas' form to FormKit We re-arranged fields into sections so we can better differentiate which options are specific to the AI bot. * few form-kit improvements https://github.com/discourse/discourse/pull/31934 --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
13 lines
348 B
Text
13 lines
348 B
Text
import { hash } from "@ember/helper";
|
|
import MultiSelect from "select-kit/components/multi-select";
|
|
|
|
const AiToolSelector = <template>
|
|
<MultiSelect
|
|
@value={{@value}}
|
|
@onChange={{@onChange}}
|
|
@content={{@content}}
|
|
@options={{hash filterable=true allowAny=false disabled=@disabled}}
|
|
/>
|
|
</template>;
|
|
|
|
export default AiToolSelector;
|