fix(honcho): normalize legacy recallMode values like 'auto' to 'hybrid'

This commit is contained in:
Erosika 2026-03-12 16:27:49 -04:00
parent 0aed9bfde1
commit 45d3e83ad1
2 changed files with 13 additions and 2 deletions

View file

@ -151,7 +151,8 @@ def cmd_setup(args) -> None:
hermes_host["writeFrequency"] = new_wf if new_wf in ("async", "turn", "session") else "async"
# Recall mode
current_recall = hermes_host.get("recallMode") or cfg.get("recallMode", "hybrid")
_raw_recall = hermes_host.get("recallMode") or cfg.get("recallMode", "hybrid")
current_recall = "hybrid" if _raw_recall not in ("hybrid", "context", "tools") else _raw_recall
print(f"\n Recall mode options:")
print(" hybrid — auto-injected context + Honcho tools available (default)")
print(" context — auto-injected context only, Honcho tools hidden")