From ba5d3c25f286d52807b974b216ca2145f164ac46 Mon Sep 17 00:00:00 2001 From: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> Date: Mon, 2 Nov 2026 03:12:52 +0530 Subject: [PATCH] test(native-chat): isolate ambient provider selection Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --- tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 0cded7d70e..e60e366b8b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -91,6 +91,8 @@ def _isolated_default_runtime_routes(tmp_path_factory, monkeypatch): monkeypatch.setenv("HOME", str(home)) monkeypatch.setenv("USERPROFILE", str(home)) monkeypatch.delenv("CODEX_HOME", raising=False) + # Tests opt into provider selection; isolate the operator's Chat route. + monkeypatch.delenv("LOOPX_CHAT_CODEX_MODEL_PROVIDER", raising=False) for module_name, attribute, parts in _DEFAULT_ROUTE_REFERENCES: monkeypatch.setattr(importlib.import_module(module_name), attribute, home.joinpath(*parts)) yield