Skip to content

[Bug]: Local Honcho "base_url" instead of api key does not work #2613

@juspky

Description

@juspky

Bug Description

I setup honcho locally.

The docs say that I can set a base_url (which is not camelCase like the other variables btw) in /.honcho/config.json and it will work instead of the API Key.

It does not seem to work.

hermes honcho setup complains if I set no api key.

hermes honcho identity says

~/.honcho# hermes honcho identity
  No API key configured. Run 'hermes honcho setup' first.

this is my honcho config

{
  "hosts": {
    "hermes": {
      "base_url": "http://localhost:8000"
      "peerName": "root",
      "workspace": "hermes",
      "aiPeer": "hermes",
      "memoryMode": "honcho",
      "writeFrequency": "async",
      "recallMode": "hybrid",
      "sessionStrategy": "per-directory",
      "enabled": true,
      "saveMessages": true
    }
  },
}

the part about hermes config set HONCHO_BASE_URL http://localhost:8000 also seems odd to me since this puts the env var into config.yaml

...
  signal:
  - hermes-signal
  homeassistant:
  - hermes-homeassistant
code_execution:
  timeout: 300
  max_tool_calls: 50
HONCHO_BASE_URL: http://localhost:8000

Steps to Reproduce

setup honcho localy
set base_url
run any honcho command

Expected Behavior

Actual Behavior

Affected Component

Agent Core (conversation loop, context compression, memory)

Messaging Platform (if gateway-related)

N/A (CLI only)

Operating System

Ubuntu 24.04

Python Version

.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions