feat: add /models slash command for listing available models#3502
Closed
Bartok9 wants to merge 1 commit intoNousResearch:mainfrom
Closed
feat: add /models slash command for listing available models#3502Bartok9 wants to merge 1 commit intoNousResearch:mainfrom
Bartok9 wants to merge 1 commit intoNousResearch:mainfrom
Conversation
Adds a new /models [provider] slash command that lists available models for the current or specified provider. Usage: - /models — list models for current provider - /models openai — list models for OpenAI - /models anthropic — list models for Anthropic Features: - Shows curated model catalog for the target provider - Marks the current model with ← current - Includes model descriptions where available - Works in both CLI and gateway/messaging contexts - Handles custom providers gracefully This provides a simple way to discover valid model names without leaving the chat context, which is especially useful for Telegram/Discord users who can't easily access the interactive model picker. Fixes NousResearch#3500
Contributor
Author
|
Closing to make room under the 10-PR limit. Will resubmit rebased against current main if the feature is still wanted — the model picker UX has evolved since this was opened. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
/models [provider]slash command that lists available models for the current or specified provider. This is a lightweight way to discover valid model names without leaving the chat context.Usage
/models— list models for current provider/models openai— list models for OpenAI/models anthropic— list models for AnthropicFeatures
← currentWhy This Matters
When using Hermes from Telegram or other gateway surfaces, there's no clear built-in way to list the models available for the current provider.
/modelis useful for switching models, but doesn't reliably act as a discoverable "list models" command in messaging contexts.This change makes model discovery a first-class part of the interface, so users can quickly find valid model names without leaving the chat or manually querying provider endpoints.
Testing
Added
tests/test_models_command.pywith registry validation tests.Fixes #3500