test(responses): bump deprecated gemini-3-pro-preview to gemini-3.1-pro-preview (#29433)
Google sunset gemini-3-pro-preview on the Gemini API, so the AI Studio
responses-API thought-signature tests started failing with a 404
("This model models/gemini-3-pro-preview is no longer available").
Point both tests at the current gemini-3.1-pro-preview model, which
litellm already has registered and which supports the function calling,
reasoning, and native streaming these tests exercise.
This commit is contained in:
parent
28c0d8579b
commit
76bf280d0a
@ -97,7 +97,7 @@ async def test_gemini_3_responses_api_with_thought_signatures():
|
||||
pytest.skip("GEMINI_API_KEY not set")
|
||||
|
||||
litellm.set_verbose = False
|
||||
request_model = "gemini/gemini-3-pro-preview"
|
||||
request_model = "gemini/gemini-3.1-pro-preview"
|
||||
|
||||
tools = [
|
||||
{
|
||||
@ -197,7 +197,7 @@ async def test_gemini_3_responses_api_streaming_with_thought_signatures():
|
||||
pytest.skip("GEMINI_API_KEY not set")
|
||||
|
||||
litellm.set_verbose = False
|
||||
request_model = "gemini/gemini-3-pro-preview"
|
||||
request_model = "gemini/gemini-3.1-pro-preview"
|
||||
|
||||
tools = [
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user