🚀 Auto-deploy: BotVPS atualizado em 24/03/2026 11:19:59
This commit is contained in:
2
main.py
2
main.py
@@ -87,7 +87,7 @@ async def update_llm_config(cfg: dict, is_auth: bool = Depends(verify_password))
|
||||
|
||||
@app.get("/api/llm-models")
|
||||
async def list_models(is_auth: bool = Depends(verify_password)):
|
||||
return {"models": get_available_models()}
|
||||
return {"models": await get_available_models()}
|
||||
|
||||
# --- SYNC & ACTIONS ---
|
||||
@app.post("/api/sync-credentials")
|
||||
|
||||
Reference in New Issue
Block a user