[codex] Allow self-hosted Honcho without API key#3482
Closed
cameronbergh wants to merge 1 commit intoNousResearch:mainfrom
Closed
[codex] Allow self-hosted Honcho without API key#3482cameronbergh wants to merge 1 commit intoNousResearch:mainfrom
cameronbergh wants to merge 1 commit intoNousResearch:mainfrom
Conversation
teknium1
added a commit
that referenced
this pull request
Mar 29, 2026
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>
teknium1
added a commit
that referenced
this pull request
Mar 29, 2026
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>
This was referenced Mar 29, 2026
Contributor
|
Merged via #3644 — your gate relaxation approach was the core of the combined fix. Thanks @cameronbergh! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
base_urlas sufficient to activate Honcho integration pathsbase_url-only self-hosted usageWhy
Self-hosted Honcho can be reachable by base URL without an API key, but Hermes previously treated that setup as disabled. These checks now allow self-hosted deployments to work without fake credentials.
User impact
Hermes CLI, gateway, doctor, and Honcho activation checks now work correctly for self-hosted Honcho setups configured with a base URL and no API key.
Validation
python3 -m py_compile cli.py gateway/run.py hermes_cli/doctor.py honcho_integration/cli.py run_agent.py