refactor(honcho): rename recallMode "auto" to "hybrid"
Matches the mental model: hybrid = context + tools, context = context only, tools = tools only.
This commit is contained in:
@@ -147,13 +147,13 @@ def cmd_setup(args) -> None:
|
||||
cfg["writeFrequency"] = new_wf if new_wf in ("async", "turn", "session") else "async"
|
||||
|
||||
# Recall mode
|
||||
current_recall = cfg.get("recallMode", "auto")
|
||||
current_recall = cfg.get("recallMode", "hybrid")
|
||||
print(f"\n Recall mode options:")
|
||||
print(" auto — pre-warmed context + memory tools available (default)")
|
||||
print(" hybrid — pre-warmed context + memory tools available (default)")
|
||||
print(" context — pre-warmed context only, memory tools suppressed")
|
||||
print(" tools — no pre-loaded context, rely on tool calls only")
|
||||
new_recall = _prompt("Recall mode", default=current_recall)
|
||||
if new_recall in ("auto", "context", "tools"):
|
||||
if new_recall in ("hybrid", "context", "tools"):
|
||||
cfg["recallMode"] = new_recall
|
||||
|
||||
# Session strategy
|
||||
|
||||
@@ -90,10 +90,10 @@ class HonchoClientConfig:
|
||||
# Max chars of dialectic result to inject into Hermes system prompt
|
||||
dialectic_max_chars: int = 600
|
||||
# Recall mode: how memory retrieval works when Honcho is active.
|
||||
# "auto" — pre-warmed context + memory tools available (model decides)
|
||||
# "hybrid" — pre-warmed context + memory tools available (model decides)
|
||||
# "context" — pre-warmed context only, honcho memory tools removed
|
||||
# "tools" — no pre-loaded context, rely on tool calls only
|
||||
recall_mode: str = "auto"
|
||||
recall_mode: str = "hybrid"
|
||||
# Session resolution
|
||||
session_strategy: str = "per-session"
|
||||
session_peer_prefix: bool = False
|
||||
@@ -199,7 +199,7 @@ class HonchoClientConfig:
|
||||
recall_mode=(
|
||||
host_block.get("recallMode")
|
||||
or raw.get("recallMode")
|
||||
or "auto"
|
||||
or "hybrid"
|
||||
),
|
||||
session_strategy=raw.get("sessionStrategy", "per-session"),
|
||||
session_peer_prefix=raw.get("sessionPeerPrefix", False),
|
||||
|
||||
Reference in New Issue
Block a user