38 lines
1.2 KiB
Cheetah
38 lines
1.2 KiB
Cheetah
{
|
||
"_comment": "渲染到 ~/.pi/agent/models.json(chmod 600)。{TEACHER_API_KEY}/{STUDENT_*} 由 `bench agent setup` 从 bench/.env.local 填。字段名对照 pi 版本文档(P3 核对:providers.<name>.{baseUrl, api, apiKey, models[]})。",
|
||
"providers": {
|
||
"dr-gateway": {
|
||
"baseUrl": "{TEACHER_BASE_URL}",
|
||
"api": "openai-completions",
|
||
"apiKey": "{TEACHER_API_KEY}",
|
||
"models": [
|
||
{
|
||
"id": "{TEACHER_MODEL}",
|
||
"name": "{TEACHER_MODEL} (teacher)",
|
||
"reasoning": false,
|
||
"input": ["text"],
|
||
"contextWindow": 128000,
|
||
"maxTokens": 16384,
|
||
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }
|
||
}
|
||
]
|
||
},
|
||
"student-vllm": {
|
||
"baseUrl": "{STUDENT_BASE_URL}",
|
||
"api": "openai-completions",
|
||
"apiKey": "{STUDENT_API_KEY}",
|
||
"models": [
|
||
{
|
||
"id": "{STUDENT_MODEL}",
|
||
"name": "student (vLLM)",
|
||
"reasoning": false,
|
||
"input": ["text"],
|
||
"contextWindow": 65536,
|
||
"maxTokens": 8192,
|
||
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|