Files
ragflow/conf/models/google.json
jay77721 47ecc2a231 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>
2026-08-05 15:22:57 +08:00

50 lines
888 B
JSON

{
"name": "Gemini",
"rank": 997,
"url": {
"default": "https://generativelanguage.googleapis.com"
},
"url_suffix": {
"models": "v1beta/models"
},
"class": "gemini",
"models": [
{
"name": "gemini-2.5-flash",
"content_length": 1048576,
"max_output": 65536,
"model_types": [
"chat"
],
"thinking": {
"default_value": true,
"clear_thinking": true
},
"tools": {
"support": true
}
},
{
"name": "text-embedding-004",
"max_tokens": 2048,
"model_types": [
"embedding"
]
}
],
"features": {
"thinking": {
"default_value": true,
"supported_models": [
"gemini-2.5-flash"
]
},
"reasoning_effort": {
"default_value": "high",
"supported_modes": [
"gemini-2.5-flash"
]
}
}
}