mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 07:04:45 +00:00
feat: add search parameter and auto-select to /model command
- /model <search> pre-filters selector or auto-selects on exact match - Support provider/model syntax for disambiguation (e.g., /model openai/gpt-4) - Auto-select logic moved to InteractiveMode to avoid selector UI flicker Closes #587
This commit is contained in:
parent
92eb6665fe
commit
e8eb4c254a
5 changed files with 82 additions and 6 deletions
|
|
@ -80,7 +80,6 @@ export default function promptUrlWidgetExtension(pi: ExtensionAPI) {
|
|||
if (!ctx.hasUI) return;
|
||||
const match = extractPromptMatch(event.prompt);
|
||||
if (!match) {
|
||||
ctx.ui.setWidget("prompt-url", undefined);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue