Merge pull request #16600 from NousResearch/austin/fix/model-provider

fix(models): consolidate provider and model into /model command
This commit is contained in:
Austin Pickett
2026-04-27 08:14:27 -07:00
committed by GitHub
7 changed files with 92 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(() => {