refine(app): tighten slash autocomplete matching (#12647)

This commit is contained in:
Kit Langton
2026-02-08 06:26:59 -05:00
committed by GitHub
parent c639200ede
commit bc25efdf72

View File

@@ -415,7 +415,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
} = useFilteredList<SlashCommand>({
items: slashCommands,
key: (x) => x?.id,
filterKeys: ["trigger", "title", "description"],
filterKeys: ["trigger", "title"],
onSelect: handleSlashSelect,
})