Skip to content

[Bug]: API key and provider ignored #2204

@rkondratowicz

Description

@rkondratowicz

Bug Description

Hermes doesn't seem to use the settings for Opencode Go (possibly other)

I've repeated the setup process several times with no luck.

Running the doctor shows:

◆ Configuration Files
  ✓ ~/.hermes/.env file exists
  ✓ API key or custom endpoint configured
  ✓ ~/.hermes/config.yaml exists

but also:

◆ API Connectivity
  ⚠ OpenRouter API (not configured)

Is OpenRouter key required for Hermes to start?

Steps to Reproduce

  1. Run hermes setup
  2. Select OpenCode Go as the provider
  3. Provide API key
  4. Pick model
  5. Finish the setup
  6. Run hermes to start chatting
  7. Error appears:

It looks like Hermes isn't configured yet -- no API keys or providers found.

Expected Behavior

Hermes recognises the configuration for OpenCode

Actual Behavior

It looks like Hermes isn't configured yet -- no API keys or providers found.

  Run:  hermes setup

Run setup now? [Y/n]

Affected Component

Setup / Installation

Messaging Platform (if gateway-related)

N/A (CLI only)

Operating System

Ubuntu 24.04.3 LTS

Python Version

3.11.15

Hermes Version

v0.4.0 (2026.3.18)

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

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