-
Notifications
You must be signed in to change notification settings - Fork 52.9k
fix(honcho): self-hosted localhost config and dialectic errors (#36098) #36146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -658,7 +658,7 @@ def dialectic_query( | |
| return result | ||
| except Exception as e: | ||
| logger.warning("Honcho dialectic query failed: %s", e) | ||
| return "" | ||
| return f"[honcho_error: {type(e).__name__}]" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This non-empty marker is treated as a successful dialectic result by automatic prefetch: it is stored, resets |
||
|
|
||
| def prefetch_context(self, session_key: str, user_message: str | None = None) -> None: | ||
| """ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes the explicit local-auth opt-in. Current main intentionally substitutes
"local"unless this host block hasapiKey, so a stored cloud/default key cannot break an unauthenticated loopback stack (827ce602d; currentclient.py:879-887). Please preserve that boundary and add an explicit shared-local-JWT mechanism if inheritance is required.