25 lines
760 B
JSON
25 lines
760 B
JSON
{
|
|
"_注释": "把本文件复制为「二进制所在目录」下的 ligent.json 即生效(例如 ./ligent.json);支持 ${VAR} 环境变量展开",
|
|
|
|
"base_url": "https://api.deepseek.com/v1",
|
|
"api_key": "${DEEPSEEK_API_KEY}",
|
|
"model": "deepseek-flash",
|
|
|
|
"temperature": 0.7,
|
|
"max_tokens": 8192,
|
|
"timeout": 300,
|
|
|
|
"thinking": "auto",
|
|
"reasoning_effort": "high",
|
|
|
|
"stream": true,
|
|
"_max_steps注释": "单轮最多几次模型往返;0 = 不限(默认也是 0,即不限制)",
|
|
"max_steps": 0,
|
|
"tools": true,
|
|
|
|
"_probe注释": "首个请求前先试探模型收不收图片/tools,据此决定暴露哪些工具;关掉就不额外发请求",
|
|
"probe": true,
|
|
|
|
"system": "可选:完全覆盖内置的 system 提示词"
|
|
}
|