Skip to content

Bug: /model gateway command omits Hermes-overlay providers (e.g. openai-codex) #5223

@hermes-assistant

Description

@hermes-assistant

Bug Description

The in-session /model command in the Telegram (and presumably Discord) gateway does not show Hermes-overlay providers such as openai-codex even when credentials are present and authenticated.

Steps to Reproduce

  1. Authenticate openai-codex via hermes auth (device code OAuth)
  2. Start the gateway (hermes gateway run)
  3. Send /model in a Telegram chat
  4. Observe the provider list

Expected Behavior

openai-codex (and other Hermes-overlay providers with valid credentials) should appear in the /model output, consistent with what hermes model shows in the CLI TUI.

Actual Behavior

Only providers backed by models.dev (e.g. anthropic, openrouter) are shown. Hermes-overlay providers (openai-codex, copilot, etc.) are silently omitted even when authenticated.

Additional Context

The CLI hermes model interactive TUI correctly shows openai-codex with its full model list (including gpt-5.4, gpt-5.4-mini, gpt-5.3-codex, etc.) when credentials exist. The gateway /model command appears to skip the Hermes-overlay provider resolution pass in model_switch.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions