Skip to content

feat: add /models slash command for listing available models#3502

Closed
Bartok9 wants to merge 1 commit intoNousResearch:mainfrom
Bartok9:feat/models-slash-command
Closed

feat: add /models slash command for listing available models#3502
Bartok9 wants to merge 1 commit intoNousResearch:mainfrom
Bartok9:feat/models-slash-command

Conversation

@Bartok9
Copy link
Copy Markdown
Contributor

@Bartok9 Bartok9 commented Mar 28, 2026

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 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 (Telegram, Discord, etc.)
  • Handles custom providers gracefully

Why 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. /model is 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.py with registry validation tests.

Fixes #3500

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
@Bartok9
Copy link
Copy Markdown
Contributor Author

Bartok9 commented Apr 10, 2026

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.

@Bartok9 Bartok9 closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: /models slash command for listing available models

1 participant