fix: sửa lỗi cho AI thực hiện tạo MIDI

This commit is contained in:
2026-07-23 18:19:12 +07:00
parent b46a2c45f2
commit 055f351a17
8 changed files with 192 additions and 18 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import json
@router.post("/proxy")
async def proxy_llm(req: ProxyRequest):
try:
async with httpx.AsyncClient(timeout=60.0) as client:
async with httpx.AsyncClient(timeout=180.0) as client:
resp = await client.post(
req.url,
headers={k: v for k, v in req.headers.items() if k.lower() not in ('host', 'origin', 'referer')},