Skip to content

Commit fca0262

Browse files
committed
add gemini2 to more tests
1 parent 5da2bc1 commit fca0262

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

tests/e2e/multimodal/test_multimodal_images.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
[
1919
"gpt-4.1-mini", # OpenAI model
2020
"sonnet", # Anthropic model
21+
"gemini2",
2122
],
2223
)
2324
async def test_agent_with_image_prompt(fast_agent, model_name):
@@ -49,9 +50,9 @@ async def agent_function():
4950
@pytest.mark.parametrize(
5051
"model_name",
5152
[
52-
"gpt-4.1-mini", # OpenAI model
53-
"sonnet", # Anthropic model
54-
# "gemini2",
53+
"gpt-4.1-mini", # OpenAI
54+
"sonnet", # Anthropic
55+
"gemini2", # Google
5556
],
5657
)
5758
async def test_agent_with_mcp_image(fast_agent, model_name):
@@ -88,7 +89,6 @@ async def agent_function():
8889
],
8990
)
9091
async def test_agent_with_mcp_pdf(fast_agent, model_name):
91-
"""Test that the agent can process an image and respond appropriately."""
9292
fast = fast_agent
9393

9494
# Define the agent
@@ -191,6 +191,7 @@ async def agent_function():
191191
"model_name",
192192
[
193193
"gpt-4.1-mini", # OpenAI model
194+
"gemini2",
194195
],
195196
)
196197
async def test_agent_includes_tool_results_in_multipart_result_openai(fast_agent, model_name):

tests/e2e/smoke/test_e2e_smoke.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@
2424
"gpt-4o-mini", # OpenAI model
2525
"haiku35", # Anthropic model
2626
"deepseek",
27-
# "generic.qwen2.5:latest",
2827
"generic.llama3.2:latest",
2928
"openrouter.google/gemini-2.0-flash-001",
30-
"google.gemini-2.0-flash",
29+
"gemini2",
3130
],
3231
)
3332
async def test_basic_textual_prompting(fast_agent, model_name):
@@ -61,10 +60,10 @@ async def agent_function():
6160
"haiku35", # Anthropic model
6261
"deepseek",
6362
"openrouter.google/gemini-2.0-flash-001",
63+
"gemini2",
6464
],
6565
)
6666
async def test_multiple_text_blocks_prompting(fast_agent, model_name):
67-
"""Test that the agent can process an image and respond appropriately."""
6867
fast = fast_agent
6968

7069
# Define the agent
@@ -148,6 +147,7 @@ class WeatherForecast(BaseModel):
148147
"gpt-4.1",
149148
"gpt-4.1-nano",
150149
"gpt-4.1-mini",
150+
"gemini2",
151151
],
152152
)
153153
async def test_structured_weather_forecast_openai_structured_api(fast_agent, model_name):
@@ -261,7 +261,7 @@ async def agent_function():
261261
"gpt-4.1",
262262
"gpt-4.1-nano",
263263
"gpt-4.1-mini",
264-
"google.gemini-2.0-flash",
264+
"gemini2",
265265
"openrouter.google/gemini-2.0-flash-001",
266266
],
267267
)
@@ -307,7 +307,7 @@ async def weather_forecast():
307307
"gpt-4.1",
308308
"gpt-4.1-nano",
309309
"gpt-4.1-mini",
310-
"google.gemini-2.0-flash",
310+
"gemini2",
311311
"openrouter.anthropic/claude-3.7-sonnet",
312312
],
313313
)

tests/e2e/structured/test_structured_outputs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async def create_structured():
125125
# "haiku", -- anthropic do not support structured outputs this way
126126
"gpt-4.1-mini",
127127
"openrouter.google/gemini-2.0-flash-001",
128-
"google.gemini-2.0-flash",
128+
"gemini2",
129129
],
130130
)
131131
async def test_structured_output_with_response_format_overriden(fast_agent, model_name):
@@ -157,7 +157,7 @@ async def create_structured():
157157
@pytest.mark.e2e
158158
@pytest.mark.parametrize(
159159
"model_name",
160-
["gpt-4.1-mini", "haiku", "google.gemini-2.0-flash"],
160+
["gpt-4.1-mini", "haiku", "gemini2"],
161161
)
162162
async def test_history_management_with_structured(fast_agent, model_name):
163163
"""Test that the agent can generate structured response with response_format_specified."""

0 commit comments

Comments
 (0)