mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 05:17:15 +00:00
test(e2e): native-runtime homes answer the shared-metrics offer like write_hermes_home
Main's 22fcbee492 gave the shared e2e home an offer_version answer so interactive suites
never stop on the consent prompt; the branch-only make_home (native runtimes) lacked it, so
the codex app-server TUI test typed into the consent menu instead of the composer.
This commit is contained in:
1 parent
96704f8efd
commit
326aacfbcf
1 file changed
+4
@@ -22,6 +22,7 @@ from pathlib import Path
|
||||
from typing import Any, Callable
|
||||
|
||||
import hermes_yaml as yaml
|
||||
from hermes_cli.observability.shared_metrics_consent import OFFER_VERSION
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[4]
|
||||
TURN_TIMEOUT = 180.0
|
||||
@@ -93,6 +94,9 @@ def make_home(root: Path, model: dict[str, Any], *, env_file: dict[str, str] | N
|
||||
"updates": {"check": False},
|
||||
"auxiliary": {"title_generation": {"enabled": False}},
|
||||
"memory": {"memory_enabled": False, "user_profile_enabled": False},
|
||||
# Answered at the current offer version (as write_hermes_home does), so an interactive
|
||||
# chat never stops on the shared-metrics offer before the UI takes the terminal.
|
||||
"telemetry": {"shared_metrics": {"enabled": False, "send": False, "offer_version": OFFER_VERSION}},
|
||||
}
|
||||
for key, value in (extra_config or {}).items():
|
||||
if isinstance(value, dict) and isinstance(cfg.get(key), dict):
|
||||
|
||||
Reference in new issue
Block a user