Skip to content

The agent that grows with you

test: give the residency-header catalog fake a non-empty answer

teknium17ce190446e54
diff --git a/tests/agent/test_codex_cloudflare_headers.py b/tests/agent/test_codex_cloudflare_headers.py
index c49309d4db9..9629d67bfdd 100644
--- a/tests/agent/test_codex_cloudflare_headers.py
+++ b/tests/agent/test_codex_cloudflare_headers.py
@@ -118,7 +118,9 @@ class TestCodexCloudflareHeaders:
status_code = 200
def json(self):
- return {"models": []}
+ # Non-empty so the newest-client request is accepted and each site makes one call
+ # (an empty answer would legitimately trigger the 0.0.0 sentinel fallback).
+ return {"models": [{"slug": "gpt-5.5", "visibility": "list"}]}
class _FakeHttp:
@staticmethod