Skip to content

fix(honcho): allow self-hosted local instances without API key#3644

Merged
teknium1 merged 1 commit intomainfrom
hermes/hermes-ab59de22
Mar 29, 2026
Merged

fix(honcho): allow self-hosted local instances without API key#3644
teknium1 merged 1 commit intomainfrom
hermes/hermes-ab59de22

Conversation

@teknium1
Copy link
Copy Markdown
Contributor

Combined fix from #3482 (cameronbergh), #3570 (ygd58), #3560 (devorun).

Relax all 8 activation gates to accept (api_key OR base_url). Add SDK placeholder for local URLs (localhost/127.0.0.1/::1).

6 files, 145 honcho tests pass.

Self-hosted Honcho on localhost doesn't require authentication, but
both the activation gates and the SDK client required an API key.

Combined fix from three contributor PRs:
- Relax all 8 activation gates to accept (api_key OR base_url) as
  valid credentials (#3482 by @cameronbergh)
- Use 'local' placeholder for the SDK client when base_url points to
  localhost/127.0.0.1/::1 (#3570 by @ygd58)

Files changed: run_agent.py (2 gates), cli.py (1 gate),
gateway/run.py (1 gate), honcho_integration/cli.py (2 gates),
hermes_cli/doctor.py (2 gates), honcho_integration/client.py (SDK).

Co-authored-by: cameronbergh <cameronbergh@users.noreply.github.com>
Co-authored-by: ygd58 <ygd58@users.noreply.github.com>
Co-authored-by: devorun <devorun@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant