From e678417a7c13bb0416a3274909fef3ba1ee7c037 Mon Sep 17 00:00:00 2001 From: mcareddu <13622203+mcareddu@users.noreply.github.com> Date: Thu, 13 Jun 2024 14:32:52 +0200 Subject: add gemini-1.5-flash to GeminiPro provider --- g4f/Provider/GeminiPro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g4f/Provider/GeminiPro.py b/g4f/Provider/GeminiPro.py index 56c211ef..b225c26c 100644 --- a/g4f/Provider/GeminiPro.py +++ b/g4f/Provider/GeminiPro.py @@ -18,7 +18,7 @@ class GeminiPro(AsyncGeneratorProvider, ProviderModelMixin): needs_auth = True default_model = "gemini-1.5-pro-latest" default_vision_model = default_model - models = [default_model, "gemini-pro", "gemini-pro-vision"] + models = [default_model, "gemini-pro", "gemini-pro-vision", "gemini-1.5-flash"] @classmethod async def create_async_generator( -- cgit v1.2.3