Merge pull request #16600 from NousResearch/austin/fix/model-provider
fix(models): consolidate provider and model into /model command
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user