Skip to content

Agent Zero AI framework

Cover Codex OAuth multimodal tool results

Alessandro Frau0c9939ba923a
diff --git a/tests/test_oauth_codex.py b/tests/test_oauth_codex.py
index 2e9ccb20f..d284b4921 100644
--- a/tests/test_oauth_codex.py
+++ b/tests/test_oauth_codex.py
@@ -85,6 +85,7 @@ def test_chat_messages_to_response_body_preserves_image_parts_for_responses():
"role": "user",
"content": [
{"type": "text", "text": "Inspect this screenshot."},
+ {"type": "text", "text": "Fresh screen attached."},
{"type": "image_url", "image_url": {"url": data_url}},
],
}
@@ -97,6 +98,7 @@ def test_chat_messages_to_response_body_preserves_image_parts_for_responses():
"role": "user",
"content": [
{"type": "input_text", "text": "Inspect this screenshot."},
+ {"type": "input_text", "text": "Fresh screen attached."},
{"type": "input_image", "image_url": data_url, "detail": "auto"},
],
}