mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-04 17:57:28 +08:00
feat: devex help, add Makefile, ruff, pre-commit, and modernize CI
This commit is contained in:
@@ -65,6 +65,7 @@ HONCHO_TOOL_SCHEMA = {
|
||||
|
||||
# ── Tool handler ──
|
||||
|
||||
|
||||
def _handle_query_user_context(args: dict, **kw) -> str:
|
||||
"""Execute the Honcho context query."""
|
||||
query = args.get("query", "")
|
||||
@@ -84,6 +85,7 @@ def _handle_query_user_context(args: dict, **kw) -> str:
|
||||
|
||||
# ── Availability check ──
|
||||
|
||||
|
||||
def _check_honcho_available() -> bool:
|
||||
"""Tool is only available when Honcho is active."""
|
||||
return _session_manager is not None and _session_key is not None
|
||||
|
||||
Reference in New Issue
Block a user