fix: tự động chạy ai
This commit is contained in:
+1
-1
@@ -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"]:
|
||||
|
||||
Reference in New Issue
Block a user