Skip to content

The agent that grows with you

test(aux): pin dict output items through the Codex aux parser

kshitijk4pooraf25593086aa
diff --git a/tests/agent/test_auxiliary_codex_completion_status.py b/tests/agent/test_auxiliary_codex_completion_status.py
index 4128131a86a..9e320d1506e 100644
--- a/tests/agent/test_auxiliary_codex_completion_status.py
+++ b/tests/agent/test_auxiliary_codex_completion_status.py
@@ -88,6 +88,9 @@ _CODEX_REASONING_ONLY = SimpleNamespace(
pytest.param("", "completed", [_message("FINAL")], None, "FINAL", "stop", id="final-answer"),
pytest.param("", "completed", [_message("COMMENTARY", phase="commentary")], None, None, "length", id="commentary-only"),
pytest.param("", "completed", [_TOOL_CALL], None, None, "tool_calls", id="tool-call"),
+ pytest.param("", "completed", [{"type": "message", "role": "assistant", "status": "completed",
+ "content": [{"type": "output_text", "text": "DICT"}]}], None, "DICT", "stop",
+ id="dict-items"),
pytest.param("", "completed", [_message(_LEAK_LIKE_ANSWER, phase=None)], None, _LEAK_LIKE_ANSWER, "stop",
id="tool-call-like-answer"),
pytest.param("", "completed", [_message(_LEAK_LIKE_ANSWER, phase=None), _PARTIAL_TOOL_CALL], None,