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:
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user