From 0d7244e4a4f72b99b20b87f3d9dadc8ea3db820d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AC=9D=E5=AF=8C=E7=A5=A5?= <44687588+es-zx@users.noreply.github.com> Date: Wed, 23 Jul 2025 10:18:04 +0800 Subject: [PATCH] Fix: Adds newest Gemini models to fit google's standard API rate limits (#8970) ### What problem does this PR solve? Adds configurations for gemini-2.5-flash and Gemini 2.5-pro models, including tags, maximum token limits, and model types. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- conf/llm_factories.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/conf/llm_factories.json b/conf/llm_factories.json index 6a0a59581..aa24de6ac 100644 --- a/conf/llm_factories.json +++ b/conf/llm_factories.json @@ -1084,6 +1084,20 @@ "tags": "LLM,TEXT EMBEDDING,IMAGE2TEXT", "status": "1", "llm": [ + { + "llm_name": "gemini-2.5-flash", + "tags": "LLM,CHAT,1024K,IMAGE2TEXT", + "max_tokens": 1048576, + "model_type": "image2text", + "is_tools": true + }, + { + "llm_name": "gemini-2.5-pro", + "tags": "LLM,CHAT,IMAGE2TEXT,1024K", + "max_tokens": 1048576, + "model_type": "image2text", + "is_tools": true + }, { "llm_name": "gemini-2.5-flash-preview-05-20", "tags": "LLM,CHAT,1024K,IMAGE2TEXT",