From 57c5e7ea3f55357b5aea4e0debdd34b67f752092 Mon Sep 17 00:00:00 2001 From: Kavinkumar <33546454+mkavinkumar1@users.noreply.github.com> Date: Tue, 6 May 2025 09:45:06 +0530 Subject: [PATCH] Update gemini-2.5-pro-exp-03-25 max_tokens to 65,535 (#10548) Fixes: Error generating conversation title: litellm.BadRequestError: VertexAIException BadRequestError - { "error": { "code": 400, "message": "Unable to submit request because it has a maxOutputTokens value of 65536 but the supported range is from 1 (inclusive) to 65536 (exclusive). Update the value and try again.", "status": "INVALID_ARGUMENT" } } --- model_prices_and_context_window.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index e81ff3c57d..3c93362d16 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -5436,9 +5436,9 @@ "supports_tool_choice": true }, "gemini-2.5-pro-exp-03-25": { - "max_tokens": 65536, + "max_tokens": 65535, "max_input_tokens": 1048576, - "max_output_tokens": 65536, + "max_output_tokens": 65535, "max_images_per_prompt": 3000, "max_videos_per_prompt": 10, "max_video_length": 1,