mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-08 16:38:01 +08:00
feat: populate content_length and max_output from official docs (#17836)
## Summary - Verify and populate `content_length` (context window) and `max_output` (max generation tokens) for all **478 chat/vision models** across **47 provider configs** - Data sourced from **official API documentation** via 12 parallel agents + targeted web verification - Update Go test assertions to match verified values Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
"models": [
|
||||
{
|
||||
"name": "gpt-5.5",
|
||||
"max_tokens": 400000,
|
||||
"content_length": 1050000,
|
||||
"max_output": 128000,
|
||||
"model_types": [
|
||||
"chat",
|
||||
"vision"
|
||||
@@ -30,7 +31,8 @@
|
||||
},
|
||||
{
|
||||
"name": "gpt-5.4-mini",
|
||||
"max_tokens": 400000,
|
||||
"content_length": 400000,
|
||||
"max_output": 128000,
|
||||
"model_types": [
|
||||
"chat",
|
||||
"vision"
|
||||
@@ -45,7 +47,8 @@
|
||||
},
|
||||
{
|
||||
"name": "gpt-5",
|
||||
"max_tokens": 400000,
|
||||
"content_length": 400000,
|
||||
"max_output": 128000,
|
||||
"model_types": [
|
||||
"chat",
|
||||
"vision"
|
||||
@@ -60,7 +63,8 @@
|
||||
},
|
||||
{
|
||||
"name": "gpt-4o",
|
||||
"max_tokens": 128000,
|
||||
"content_length": 128000,
|
||||
"max_output": 16384,
|
||||
"model_types": [
|
||||
"chat",
|
||||
"vision"
|
||||
@@ -71,7 +75,8 @@
|
||||
},
|
||||
{
|
||||
"name": "claude-sonnet-4-6",
|
||||
"max_tokens": 200000,
|
||||
"content_length": 1000000,
|
||||
"max_output": 128000,
|
||||
"model_types": [
|
||||
"chat",
|
||||
"vision"
|
||||
@@ -82,7 +87,8 @@
|
||||
},
|
||||
{
|
||||
"name": "gemini-3-pro-preview",
|
||||
"max_tokens": 1048576,
|
||||
"content_length": 1048576,
|
||||
"max_output": 65536,
|
||||
"model_types": [
|
||||
"chat",
|
||||
"vision"
|
||||
@@ -93,7 +99,8 @@
|
||||
},
|
||||
{
|
||||
"name": "deepseek-v3.2",
|
||||
"max_tokens": 128000,
|
||||
"content_length": 131072,
|
||||
"max_output": 8192,
|
||||
"model_types": [
|
||||
"chat"
|
||||
],
|
||||
@@ -103,7 +110,8 @@
|
||||
},
|
||||
{
|
||||
"name": "qwen3-235b-a22b",
|
||||
"max_tokens": 128000,
|
||||
"content_length": 131072,
|
||||
"max_output": 32768,
|
||||
"model_types": [
|
||||
"chat"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user