mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-19 22:21:04 +08:00
## Summary - Adds a `Hunyuan` Go driver so the new API server can route Tencent Hunyuan chat instances (registered in `conf/llm_factories.json:3830` as `Tencent Hunyuan`). Follows the same SaaS-driver shape used for Astraflow, Avian, Novita, TogetherAI, Replicate, DeepInfra, Upstage, and LongCat. Closes #15087 --------- Co-authored-by: Jin Hai <haijin.chn@gmail.com>
34 lines
630 B
JSON
34 lines
630 B
JSON
{
|
|
"name": "HunYuan",
|
|
"url": {
|
|
"default": "https://api.hunyuan.cloud.tencent.com/v1"
|
|
},
|
|
"url_suffix": {
|
|
"chat": "chat/completions",
|
|
"models": "models"
|
|
},
|
|
"class": "hunyuan",
|
|
"models": [
|
|
{
|
|
"name": "hunyuan-pro",
|
|
"max_tokens": 32768,
|
|
"model_types": ["chat"]
|
|
},
|
|
{
|
|
"name": "hunyuan-standard",
|
|
"max_tokens": 32768,
|
|
"model_types": ["chat"]
|
|
},
|
|
{
|
|
"name": "hunyuan-standard-256K",
|
|
"max_tokens": 262144,
|
|
"model_types": ["chat"]
|
|
},
|
|
{
|
|
"name": "hunyuan-lite",
|
|
"max_tokens": 262144,
|
|
"model_types": ["chat"]
|
|
}
|
|
]
|
|
}
|