Skip to content

Autonomous AI sales agent powered by Claude Code or Codex. Finds prospects, writes cold emails, sends campaigns, handles replies, books meetings. No API keys needed — runs on your Claude or Codex subscriptions.

Keep real-CLI model selection tests on the fake Codex login

Ethan08e4fb441a9e
diff --git a/tests/test_codex_cli_surface.py b/tests/test_codex_cli_surface.py
index 3083ee8..740a997 100644
--- a/tests/test_codex_cli_surface.py
+++ b/tests/test_codex_cli_surface.py
@@ -125,6 +125,9 @@ def mock_codex(monkeypatch, tmp_path):
port = server.server_address[1]
native = _fake_native_login(tmp_path)
+ # Brain constructs its own CodexClient: keep those clients on the fake
+ # login too, never the operator's real CODEX_HOME or ~/.codex.
+ monkeypatch.setenv("CODEX_HOME", str(native))
extra = {"toml": ""}
lockdown = hc.build_private_config_toml