Merge pull request #194 from weipengzou/feat_support_siliconflow

This commit is contained in:
musi
2025-07-16 08:01:39 +08:00
committed by GitHub

View File

@@ -85,6 +85,23 @@ ccr code
"transformer": {
"use": ["deepseek"]
}
},
{
"name": "siliconflow",
// IMPORTANT: api_base_url must be a complete (full) URL.
"api_base_url": "https://api.siliconflow.cn/v1/chat/completions",
"api_key": "sk-xxx",
"models": ["moonshotai/Kimi-K2-Instruct"],
"transformer": {
"use": [
[
"maxtoken",
{
"max_tokens": 16384,// for siliconflow max_tokens
}
]
]
}
}
],
"Router": {