mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-08 12:24:48 +08:00
### What problem does this PR solve? Now each model support region with different URL ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
47 lines
879 B
JSON
47 lines
879 B
JSON
{
|
|
"name": "xAI",
|
|
"url": {
|
|
"default": "https://api.x.ai/v1"
|
|
},
|
|
"url_suffix": {
|
|
"chat": "chat/completions"
|
|
},
|
|
"models": [
|
|
{
|
|
"name": "grok-4",
|
|
"max_tokens": 256000,
|
|
"model_types": ["chat"],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "grok-3",
|
|
"max_tokens": 131072,
|
|
"model_types": ["chat"],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "grok-3-fast",
|
|
"max_tokens": 131072,
|
|
"model_types": ["chat"],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "grok-3-mini",
|
|
"max_tokens": 131072,
|
|
"model_types": ["chat"],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "grok-3-mini-mini-fast",
|
|
"max_tokens": 131072,
|
|
"model_types": ["chat"],
|
|
"features": {}
|
|
},
|
|
{
|
|
"name": "grok-2-vision",
|
|
"max_tokens": 32768,
|
|
"model_types": ["vision"],
|
|
"features": {}
|
|
}
|
|
]
|
|
} |