fix(models): consolidate provider and model into /model command

This commit is contained in:
Austin Pickett 2026-04-27 10:38:36 -04:00
parent ac0325c257
commit a0b62e0c5a
6 changed files with 83 additions and 34 deletions

View file

@ -42,6 +42,14 @@ export function useCompletion(input: string, blocked: boolean, gw: GatewayClient
return
}
// `/model` / `/provider` use the two-step ModelPicker (real curated IDs).
// Slash completion here only showed short aliases + vendor/family meta.
if (isSlash && /^\/(?:model|provider)(?:\s|$)/.test(input)) {
clear()
return
}
const pathReplace = input.length - (pathWord?.length ?? 0)
const t = setTimeout(() => {