mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
[Fix] Update gemini-2.0-flash to gemini-2.5-flash in test_gemini integration tests
gemini-2.0-flash is no longer available to new users, causing 404 errors in llm_translation_testing tests.
This commit is contained in:
parent
40d4e79a00
commit
b39748daf2
1 changed files with 3 additions and 3 deletions
|
|
@ -532,7 +532,7 @@ def test_gemini_with_grounding():
|
|||
## Check streaming
|
||||
|
||||
response = completion(
|
||||
model="gemini/gemini-2.0-flash",
|
||||
model="gemini/gemini-2.5-flash",
|
||||
messages=[{"role": "user", "content": "What is the capital of France?"}],
|
||||
tools=tools,
|
||||
stream=True,
|
||||
|
|
@ -566,7 +566,7 @@ def test_gemini_with_empty_function_call_arguments():
|
|||
}
|
||||
]
|
||||
response = completion(
|
||||
model="gemini/gemini-2.0-flash",
|
||||
model="gemini/gemini-2.5-flash",
|
||||
messages=[{"role": "user", "content": "What is the capital of France?"}],
|
||||
tools=tools,
|
||||
)
|
||||
|
|
@ -775,7 +775,7 @@ def test_gemini_tool_use():
|
|||
{"role": "system", "content": "You are a helpful assistant."},
|
||||
{"role": "user", "content": "What's the weather like in Lima, Peru today?"},
|
||||
],
|
||||
"model": "gemini/gemini-2.0-flash",
|
||||
"model": "gemini/gemini-2.5-flash",
|
||||
"tools": [
|
||||
{
|
||||
"type": "function",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue