Skip to content

The agent that grows with you

test(codex): the clamp row's comment says why gpt-5.4 clamps ultra

kshitijk4poor7f8df0d8886b
diff --git a/tests/agent/test_codex_app_server_integration.py b/tests/agent/test_codex_app_server_integration.py
index 027f49ff943..4399ea5dc34 100644
--- a/tests/agent/test_codex_app_server_integration.py
+++ b/tests/agent/test_codex_app_server_integration.py
@@ -74,7 +74,7 @@ class TestRunConversationCodexPath:
[
({"enabled": True, "effort": "high"}, "priority", "high", "fast"),
({"enabled": False}, None, "none", None),
- # Hermes-only levels are clamped to the route's vocabulary; raw "ultra" fails the turn with 400.
+ # Hermes-only levels are clamped to the route's vocabulary: gpt-5.4 has no `max`, so ultra goes out as xhigh.
# A tier codex has no word for is not sent.
({"enabled": True, "effort": "ultra"}, "ultrafast", "xhigh", None),
],