Skip to content

fix(honcho): extend local client timeout#8527

Open
DomGrieco wants to merge 1 commit into
NousResearch:mainfrom
DomGrieco:fix/honcho-local-honcho-timeout
Open

fix(honcho): extend local client timeout#8527
DomGrieco wants to merge 1 commit into
NousResearch:mainfrom
DomGrieco:fix/honcho-local-honcho-timeout

Conversation

@DomGrieco

Copy link
Copy Markdown
Contributor

Summary

  • increase the Honcho SDK timeout to 300 seconds for local/self-hosted Honcho base URLs only
  • keep the existing default timeout behavior for cloud Honcho unchanged
  • add a focused unit test covering the local timeout override

Why

Local/self-hosted Honcho deployments can take longer than the SDK's default 60 second HTTP timeout for dialectic-style calls. When Hermes is pointed at a localhost/127.0.0.1 Honcho instance, this can cause Hermes to give up before Honcho responds even though the local server is still working.

This change keeps the scope narrow:

  • only applies when Hermes has already classified the resolved Honcho base URL as local
  • does not change cloud Honcho behavior
  • uses the Honcho SDK's existing timeout= parameter rather than introducing Hermes-specific retry logic

Test Plan

  • /Users/dgrieco/.hermes/hermes-agent/venv/bin/python -m py_compile plugins/memory/honcho/client.py tests/honcho_plugin/test_client.py
  • /Users/dgrieco/.hermes/hermes-agent/venv/bin/python -m pytest tests/honcho_plugin/test_client.py -q

@himanshikothari30

Copy link
Copy Markdown

I am still learning, but I noticed that some checks are failing. Maybe we should fix them before merging.

@DomGrieco

Copy link
Copy Markdown
Contributor Author

I am still learning, but I noticed that some checks are failing. Maybe we should fix them before merging.

These failures come from other upstream changes, not related to the changes introduced in this PR.

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins labels Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants