Skip to content

v0.15: /model command returns structured field list instead of human-readable message #35595

Closed

Description

@OrekiDawson

Bug Description

In v0.15.0, slash commands like /model return structured technical field names instead of human-readable messages.

Expected (v0.14 behavior):
Human language response like "Switched to MiniMax-M2.7 — context 128k, provider minimax-cn"

Actual (v0.15 behavior):
Returns a list of structured field labels:

gateway.model.switched
gateway.model.provider_label
gateway.model.context_label
gateway.model.max_output_label
gateway.model.cost_label
gateway.model.capabilities_label
gateway.model.prompt_caching_enabled
gateway.model.session_only_hint

Steps to Reproduce

  1. Run hermes chat or any Hermes CLI interface
  2. Run /model MiniMax-M2.7 --provider minimax-cn
  3. Observe the response is structured field names, not human-readable text

Expected Behavior

The response should be human-readable, like prior versions.

Environment

  • Hermes Agent v0.15.0 (2026.5.28)
  • OS: Linux (Debian 13)
  • Python: 3.13.5

Additional Context

This affects the UX of all slash commands in 0.15 — users see API-like structured output rather than conversational responses.

Activity

  1. added
    type/bugSomething isn't working
    P1High — major feature broken, no workaround
    comp/cliCLI entry point, hermes_cli/, setup wizard
    comp/gatewayGateway runner, session dispatch, delivery
    on May 31, 2026
  2. alt-glitch commented on May 31, 2026

    @alt-glitch

    Duplicate of #27632. The gateway.model.switched, gateway.model.provider_label etc. are raw i18n translation keys — locales/ is missing from the pip package so i18n.t() falls through to dotted key names. Canonical fix PR: #27716. See also #35374, #35494 (same symptom reports).

  3. teknium1 commented on May 31, 2026

    @teknium1
    Collaborator

    Hmm I just tried it on latest, I can't reproduce. Can you take a screenshot and run /debug and paste the output

  4. OrekiDawson commented on Jun 2, 2026

    @OrekiDawson
    Author

    Repro screenshots (Hermes v0.15, 2026-06-02 07:27 / 07:29 CST). Original JPEGs hosted on a public gist (I am aware of the PII/EXIF implications and chose to upload them as-is for the bug repro).

    Image 1 — /model returns raw dotted i18n key list (provider tag dump):
    /model raw i18n key list

    Image 2 — /sethome and /reasoning off return raw dotted i18n keys:
    /sethome and /reasoning off raw i18n keys

    Observed raw key fallbacks (dotted i18n keys leaked through to the user):

    • /model → list including gateway.model.current_label, gateway.model.current_tag, plus model ID chips
    • /sethome → gateway.set_home.success
    • /reasoning off → gateway.reasoning.display_set_off

    Matches the symptom @alt-glitch described: locales/ not in the pip package, i18n.t() falls through to dotted key names. Patch #27716's intent is correct; on my install it lines up with that diagnosis.

  5. alt-glitch commented on Jun 3, 2026

    @alt-glitch

    Fixed on main by #38383 (merged in c349eca). Root cause was the same packaging gap: sealed installs (pip wheel / Nix venv) dropped the locales/ catalogs, so /model (and other gateway commands) fell back to raw dotted keys like gateway.model.switched. The fix ships the catalogs in the wheel + sdist + Nix package; I confirmed all 17 gateway.model.* keys now resolve to human-readable strings in en.yaml. Thanks @OrekiDawson for the report. Closing as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High — major feature broken, no workaroundcomp/cliCLI entry point, hermes_cli/, setup wizardcomp/gatewayGateway runner, session dispatch, deliverytype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions