From 9f7b322ae2adce2dfbdfcd7d7d1f0af04cf4c542 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 27 Feb 2024 14:45:34 -0800 Subject: [PATCH] fix(utils.py): map optional params for gemini pro vision --- litellm/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/utils.py b/litellm/utils.py index 6bc229e96..0ef50f20c 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -4351,6 +4351,7 @@ def get_optional_params( or model in litellm.vertex_code_text_models or model in litellm.vertex_language_models or model in litellm.vertex_embedding_models + or model in litellm.vertex_vision_models ): print_verbose(f"(start) INSIDE THE VERTEX AI OPTIONAL PARAM BLOCK") ## check if unsupported param passed in