fix: match httpx pad with hatchet audio timeout

This commit is contained in:
Igor Loskutov
2026-01-30 15:56:18 -05:00
parent 23eb1371cb
commit c05d1f03cd

View File

@@ -8,6 +8,7 @@ import os
import httpx
from pydantic import BaseModel
from reflector.hatchet.constants import TIMEOUT_AUDIO
from reflector.logger import logger
@@ -63,7 +64,7 @@ class AudioPaddingModalProcessor:
headers["Authorization"] = f"Bearer {self.modal_api_key}"
try:
async with httpx.AsyncClient() as client:
async with httpx.AsyncClient(timeout=TIMEOUT_AUDIO) as client:
response = await client.post(
url,
headers=headers,