mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-03 16:05:26 +08:00
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"_comment": "DS2API 配置文件示例 - 复制为 config.json 使用",
|
|
"_doc": "详细文档: https://github.com/CJackHwang/ds2api",
|
|
"keys": [
|
|
"your-api-key-1",
|
|
"your-api-key-2"
|
|
],
|
|
"accounts": [
|
|
{
|
|
"_comment": "邮箱登录方式",
|
|
"email": "example1@example.com",
|
|
"password": "your-password-1",
|
|
"token": ""
|
|
},
|
|
{
|
|
"_comment": "邮箱登录方式 - 账号2",
|
|
"email": "example2@example.com",
|
|
"password": "your-password-2",
|
|
"token": ""
|
|
},
|
|
{
|
|
"_comment": "手机号登录方式(中国大陆)",
|
|
"mobile": "12345678901",
|
|
"password": "your-password-3",
|
|
"token": ""
|
|
}
|
|
],
|
|
"model_aliases": {
|
|
"gpt-4o": "deepseek-chat",
|
|
"gpt-5-codex": "deepseek-reasoner",
|
|
"o3": "deepseek-reasoner"
|
|
},
|
|
"compat": {
|
|
"wide_input_strict_output": true
|
|
},
|
|
"toolcall": {
|
|
"mode": "feature_match",
|
|
"early_emit_confidence": "high"
|
|
},
|
|
"responses": {
|
|
"store_ttl_seconds": 900
|
|
},
|
|
"embeddings": {
|
|
"provider": "deterministic"
|
|
},
|
|
"claude_model_mapping": {
|
|
"fast": "deepseek-chat",
|
|
"slow": "deepseek-reasoner"
|
|
}
|
|
}
|