fix: manage_scheduled_task + search_web 注入 + 删除 LM Studio

- manage_scheduled_task: INSERT 加 user_id='', 检查 psql 退出码
- search_web: 用 python json.dumps 构造请求体(防止注入)
- 删除 lmstudio.rs / LmStudioConfig,仅保留 DeepSeek
- config.json 移除 lmstudio 段
This commit is contained in:
2026-06-02 13:51:46 +08:00
parent 7ab5052642
commit a549bd3b2f
8 changed files with 29 additions and 226 deletions
-5
View File
@@ -9,11 +9,6 @@
"api_key": "${DEEPSEEK_API_KEY}",
"model": "${DEEPSEEK_MODEL}",
"base_url": "${DEEPSEEK_BASE_URL}"
},
"lmstudio": {
"base_url": "${LM_STUDIO_BASE_URL}",
"model": "${LM_STUDIO_MODEL}",
"api_key": "${LM_STUDIO_API_KEY}"
}
}
}