mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 01:21:43 +00:00
feat: devex help, add Makefile, ruff, pre-commit, and modernize CI
This commit is contained in:
parent
172a38c344
commit
f4d7e6a29e
111 changed files with 11655 additions and 10200 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue