mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-13 03:52:00 +00:00
feat(tui): remove /provider alias for /model (#20358)
/model is the canonical command; /provider was a redundant alias that dispatched to the same ModelPicker overlay. Drop the alias, the regex branch in useCompletion, and the alias-coverage test.
This commit is contained in:
parent
87b113c2e3
commit
0397be5939
3 changed files with 2 additions and 11 deletions
|
|
@ -21,9 +21,9 @@ export function completionRequestForInput(
|
|||
return null
|
||||
}
|
||||
|
||||
// `/model` / `/provider` use the two-step ModelPicker (real curated IDs).
|
||||
// `/model` uses the two-step ModelPicker (real curated IDs).
|
||||
// Slash completion here only showed short aliases + vendor/family meta.
|
||||
if (isSlashCommand && /^\/(?:model|provider)(?:\s|$)/.test(input)) {
|
||||
if (isSlashCommand && /^\/model(?:\s|$)/.test(input)) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue