fix: tự động chạy ai

This commit is contained in:
2026-07-10 07:24:34 +07:00
parent c3a69d145b
commit f4322ff815
16 changed files with 529 additions and 164 deletions
+1 -1
View File
@@ -599,7 +599,7 @@ async def config_add_backend(req: BackendReq):
@app.put("/config/backends/{name}")
async def config_update_backend(name: str, req: BackendReq):
result = ConfigAPIManager.update_backend(
name, name=req.name, type=req.type, base_url=req.base_url,
name, new_name=req.name, type=req.type, base_url=req.base_url,
api_key=req.api_key, model=req.model, timeout=req.timeout
)
if result["success"]: