The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): hosted-room daemon fixtures opt the named profile out with gateway.standalone
teknium1f7efe0b8abc9
diff --git a/tests/gateway/fixtures/hosted_auth_probe.py b/tests/gateway/fixtures/hosted_auth_probe.pyindex dea2f240d59..18229e4bc8c 100644--- a/tests/gateway/fixtures/hosted_auth_probe.py+++ b/tests/gateway/fixtures/hosted_auth_probe.py@@ -164,8 +164,10 @@ def probe(tmp_path):'platform_toolsets': {'gui': ['terminal'], 'bot_room': ['terminal']},'approvals': {'mode': 'manual', 'timeout': 60},'auxiliary': {'title_generation': {'enabled': False}}, 'terminal': {'cwd': str(home)}}- for path in (home, target):- (path / 'config.yaml').write_text(json.dumps(cfg))+ (home / 'config.yaml').write_text(json.dumps(cfg))+ # The named profile's gateway runs beside the host: `gateway.standalone: true` is the opt-out+ # (`multiplex_profiles: false` is retired and rewritten to true at boot).+ (target / 'config.yaml').write_text(json.dumps(cfg | {'gateway': {'standalone': True}}))env = child_env() | dict(HOME=str(user), USERPROFILE=str(user), HERMES_HOME=str(home),PYTHONPATH=str(root), OPENAI_API_KEY='loopback-only', OPENAI_BASE_URL=base, PYTHONUNBUFFERED='1')members = [{'member_id': 'one', 'profile': 'default', 'handle': 'one'},diff --git a/tests/gateway/test_session_hosted_daemon.py b/tests/gateway/test_session_hosted_daemon.pyindex 63c6f213b9b..a218501c99b 100644--- a/tests/gateway/test_session_hosted_daemon.py+++ b/tests/gateway/test_session_hosted_daemon.py@@ -55,7 +55,10 @@ def test_native_room_service_local_member_and_restart(tmp_path):'auxiliary': {'title_generation': {'enabled': False}},'terminal': {'cwd': str(home)},}))- (target / 'config.yaml').write_text((home / 'config.yaml').read_text())+ # The named profile runs its own gateway beside the host: `gateway.standalone: true` is the+ # opt-out (`multiplex_profiles: false` is retired and rewritten to true at boot).+ (target / 'config.yaml').write_text(json.dumps(json.loads((home / 'config.yaml').read_text())+ | {'gateway': {'standalone': True}}))env = child_env() | dict(HOME=str(user), USERPROFILE=str(user), HERMES_HOME=str(home),PYTHONPATH=str(root), OPENAI_API_KEY='loopback-only', OPENAI_BASE_URL=base, PYTHONUNBUFFERED='1')members = [{'member_id': 'one', 'profile': 'default', 'handle': 'one'},@@ -128,7 +131,10 @@ def test_room_unknown_discard_releases_only_its_followers(tmp_path):'auxiliary': {'title_generation': {'enabled': False}},'terminal': {'cwd': str(home)},}))- (target / 'config.yaml').write_text((home / 'config.yaml').read_text())+ # The named profile runs its own gateway beside the host: `gateway.standalone: true` is the+ # opt-out (`multiplex_profiles: false` is retired and rewritten to true at boot).+ (target / 'config.yaml').write_text(json.dumps(json.loads((home / 'config.yaml').read_text())+ | {'gateway': {'standalone': True}}))env = child_env() | dict(HOME=str(user), USERPROFILE=str(user), HERMES_HOME=str(home),PYTHONPATH=str(root), OPENAI_API_KEY='loopback-only', OPENAI_BASE_URL=base, PYTHONUNBUFFERED='1')members = [{'member_id': 'one', 'profile': 'default', 'handle': 'one'},