Skip to content

[Bug]: /model removed from Telegram without functioning alternative #4039

Closed

Description

@deanpress

Bug Description

/model is no longer a functioning command in the Telegram gateway, even though it shows in Telegram as an available command, and setting the model in the cli does not change the model used by the telegram session.

The result is that, in 0.6.0, there is no way to reliably switch models in the Telegram gateway.

This also means that you cannot switch models unless you can access the cli, so hitting a rate limit on the selected LLM in Telegram will kill the gateway until you can log back in to the cli. That's a genuine issue.

Steps to Reproduce

  1. Run hermes in telegram
  2. Run /model + your desired model
  3. It doesn't switch
  4. Switch models in hermes cli
  5. Restart gateway
  6. Gateway still doesnt update models

Expected Behavior

Leave /model as a functioning command in the Telegram gateway.

Actual Behavior

No model switch happens in Telegram.

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

Telegram

Operating System

Ubuntu 24.04

Python Version

3.11.9

Hermes Version

0.6.0

Relevant Logs / Traceback

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

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

Activity

  1. raulbcs commented on Mar 31, 2026

    @raulbcs

    Hey, /model has been removed from Hermes at commit #3080 9783c9d

  2. unlikelysaint commented on Mar 31, 2026

    @unlikelysaint

    Adding a +1 here — this is a significant UX regression for Telegram users. The whole point of the gateway is to interact with Hermes without a terminal. Removing /model forces users to drop back to CLI just to switch models, which defeats the purpose. Please bring it back.

  3. unlikelysaint commented on Mar 31, 2026

    @unlikelysaint

    Adding a +1 here — this is a significant UX regression for Telegram users. The whole point of the gateway is to interact with Hermes without a terminal. Removing /model forces users to drop back to CLI just to switch models, which defeats the purpose. Please bring it back.

  4. deanpress commented on Mar 31, 2026

    @deanpress
    Author

    Hey, /model has been removed from Hermes at commit #3080 9783c9d

    Switching models in the CLI gateway does not switch the model over in Telegram either. You still have to manually initiate a new session after switching in the CLI.

    If you cannot access the CLI then you cannot switch models, so hitting an API limit on one model will kill the gateway and you cannot fix it until you can log in to the CLI.

    So far the new UX with this feature removal has not been good, and there has been no new feature introduced to obviate this removed feature.

    Hermes Agent is supposed to be the platform to be more stable and feature complete than OpenClaw, but this update removing functionality to this extent and suddenly introducing these problems made me less confident about that. It broke my workflow and blocked access to my agent until I could ssh into my server and change models.

  5. SHL0MS commented on Apr 1, 2026

    @SHL0MS

    User report confirming this issue + workaround + new concern:

    A user on Telegram hit exactly this:

    1. /model didn't work (no handler, as expected after refactor: remove /model slash command from CLI and gateway #3080)
    2. Then it "seemed to work" — the gateway passed /model anthropic/claude-opus-4.6 as plain text to the agent, and the agent hallucinated compliance: "Sure, I've switched to that model" — but the model never actually changed (confirmed via OpenRouter billing)
    3. Workaround: hermes config set model.default "anthropic/claude-opus-4.6" && hermes config set model.provider "openrouter"

    New concern not previously tracked: The agent confidently claims it changed its own model when it cannot. There's no system prompt guidance saying "I cannot change my own runtime model." The agent should either have a tool to do this, or be explicitly told it can't.

    Practical workaround the user discovered: Add quick commands to config.yaml:

    quick_commands:
      opus:
        type: shell
        command: 'hermes config set model.default "anthropic/claude-opus-4.6"'
        description: Switch to Opus
      sonnet:
        type: shell
        command: 'hermes config set model.default "anthropic/claude-sonnet-4"'
        description: Switch to Sonnet

    Then /opus or /sonnet from the TUI (or Telegram if quick commands are dispatched there). This is worth recommending in docs until a proper gateway model-switch mechanism exists.

  6. alesha-pro commented on Apr 6, 2026

    @alesha-pro

    I absolutely agree. This is an extremely important need that needs to be returned. /model is literally a standard in harness agents, and removing this functionality significantly reduces UX

  7. raulbcs commented on Apr 8, 2026

    @raulbcs

    /model is back on last version (v0.8.0 (v2026.4.8))

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

    type/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions