a lot of simplification finally. all works

This commit is contained in:
Ashwin Bharambe 2025-10-09 11:15:00 -07:00
parent b47bf340db
commit 00fd27be1f
39 changed files with 16027 additions and 1969 deletions

View file

@ -41,32 +41,33 @@ basic_test_cases = [
),
id="saturn",
),
pytest.param(
ResponsesTestCase(
input=[
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "what teams are playing in this image?",
}
],
},
{
"role": "user",
"content": [
{
"type": "input_image",
"image_url": "https://upload.wikimedia.org/wikipedia/commons/3/3b/LeBron_James_Layup_%28Cleveland_vs_Brooklyn_2018%29.jpg",
}
],
},
],
expected="brooklyn nets",
),
id="image_input",
),
# TODO: Add image input test case, since this test case got Nerfed by OpenAI with a refusal
# pytest.param(
# ResponsesTestCase(
# input=[
# {
# "role": "user",
# "content": [
# {
# "type": "input_text",
# "text": "what teams are playing in this image?",
# }
# ],
# },
# {
# "role": "user",
# "content": [
# {
# "type": "input_image",
# "image_url": "https://upload.wikimedia.org/wikipedia/commons/3/3b/LeBron_James_Layup_%28Cleveland_vs_Brooklyn_2018%29.jpg",
# }
# ],
# },
# ],
# expected="brooklyn nets",
# ),
# id="image_input",
# ),
]
# Multi-turn test cases