hermes - 💡(How to fix) Fix [Feature]: Add custom model entry option to in-session /model picker [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fixed

Code Example

/model <custom-model> --provider <provider>

---
RAW_BUFFERClick to expand / collapse

Problem or Use Case

Summary

The interactive in-session /model picker does not allow entering a custom model name. It only allows selecting from the curated/listed models.

This is inconsistent with hermes model, which has an “Enter custom model name” option, and it makes session-only custom model switching harder than necessary.

Current Behavior

Inside an active Hermes CLI session:

  1. Run /model
  2. Select a provider
  3. The picker only shows the listed models, Back, and Cancel
  4. There is no way to type an arbitrary model name from the picker

To use a custom model name, I have to either:

/model <custom-model> --provider <provider>

or run:

hermes model

But hermes model updates the default/global config, while I often only want to switch the current session.

Expected Behavior

The in-session /model picker should include:

Enter custom model name

After selecting it, the user should be able to type any model ID/slug, press Enter, and have Hermes switch the current session only, unless --global.

Related Issues

Possibly related, but not exact duplicates:

  • #11677: custom provider picker only shows default model
  • #10011: auto-discover models from custom provider endpoints in /model picker
  • #8470: /model <provider>/<model> syntax with custom providers

Proposed Solution

Add an Enter custom model name option to the prompt_toolkit /model picker model-selection stage.

When selected:

  • switch the picker into a typed-entry state
  • read the entered model name from the input buffer
  • call the existing switch_model(...) path with the selected provider
  • preserve existing session-only behavior by default
  • only persist globally if /model --global opened the picker

Alternatives Considered

No response

Feature Type

Gateway / messaging improvement

Scope

Small (single file, < 50 lines)

Contribution

  • I'd like to implement this myself and submit a PR

Debug Report (optional)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Feature]: Add custom model entry option to in-session /model picker [1 pull requests]