Browse Source

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)
tags/v0.20.0
謝富祥 3 months ago
parent
commit
0d7244e4a4
No account linked to committer's email address
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      conf/llm_factories.json

+ 14
- 0
conf/llm_factories.json View File

"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",

Loading…
Cancel
Save