硬编码改为配置文件

This commit is contained in:
2026-08-25 20:35:52 +08:00
parent bd5926aeed
commit b3895a905e
7 changed files with 113 additions and 18 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"api": {
"api_key": "替换为你的 DeepSeek API Key,或用环境变量 DEEPSEEK_API_KEY",
"model": "deepseek-v4-flash",
"base_url": "https://api.deepseek.com/chat/completions",
"timeout": 120,
"max_retries": 3,
"max_tokens": 32768
}
}