mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
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)
This commit is contained in:
@ -1084,6 +1084,20 @@
|
|||||||
"tags": "LLM,TEXT EMBEDDING,IMAGE2TEXT",
|
"tags": "LLM,TEXT EMBEDDING,IMAGE2TEXT",
|
||||||
"status": "1",
|
"status": "1",
|
||||||
"llm": [
|
"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",
|
"llm_name": "gemini-2.5-flash-preview-05-20",
|
||||||
"tags": "LLM,CHAT,1024K,IMAGE2TEXT",
|
"tags": "LLM,CHAT,1024K,IMAGE2TEXT",
|
||||||
|
|||||||
Reference in New Issue
Block a user