feat: 为多个模型添加推理与多模态支持

- 为多个模型添加推理能力、多模态输入支持及相应的上下文和输出限制配置。
This commit is contained in:
2026-01-30 16:55:56 +08:00
parent e7d5fcebb0
commit 8301af3796

View File

@@ -19,13 +19,31 @@
},
"models": {
"claude-opus-4-5-thinking": {
"name": "Claude Opus 4.5 (Thinking)"
"name": "Claude Opus 4.5 (Thinking)",
"reasoning": true,
"modalities": {
"input": ["text", "image", "pdf"],
"output": ["text"]
},
"limit": { "context": 200000, "output": 64000 }
},
"claude-sonnet-4-5-thinking": {
"name": "Claude Sonnet 4.5 (Thinking)"
"name": "Claude Sonnet 4.5 (Thinking)",
"reasoning": true,
"modalities": {
"input": ["text", "image", "pdf"],
"output": ["text"]
},
"limit": { "context": 200000, "output": 64000 }
},
"claude-sonnet-4-5": {
"name": "Claude Sonnet 4.5"
"name": "Claude Sonnet 4.5",
"reasoning": false,
"modalities": {
"input": ["text", "image", "pdf"],
"output": ["text"]
},
"limit": { "context": 200000, "output": 64000 }
}
}
},
@@ -38,10 +56,22 @@
},
"models": {
"gemini-3-pro": {
"name": "Gemini 3 Pro"
"name": "Gemini 3 Pro",
"reasoning": true,
"modalities": {
"input": ["text", "image", "video", "audio", "pdf"],
"output": ["text"]
},
"limit": { "context": 1048576, "output": 65536 }
},
"gemini-3-flash": {
"name": "Gemini 3 Flash"
"name": "Gemini 3 Flash",
"reasoning": true,
"modalities": {
"input": ["text", "image", "video", "audio", "pdf"],
"output": ["text"]
},
"limit": { "context": 1000000, "output": 64000 }
}
}
},
@@ -56,12 +86,24 @@
"models": {
"gpt-5.2": {
"name": "GPT-5.2",
"reasoning": true,
"modalities": {
"input": ["text", "image"],
"output": ["text"]
},
"limit": { "context": 400000, "output": 128000 },
"options": {
"reasoningEffort": "xhigh"
}
},
"gpt-5.2-codex": {
"name": "GPT-5.2-Codex",
"reasoning": true,
"modalities": {
"input": ["text", "image"],
"output": ["text"]
},
"limit": { "context": 400000, "output": 128000 },
"options": {
"reasoningEffort": "xhigh"
}