fix(aim.py): fix linting error

This commit is contained in:
Krrish Dholakia 2025-03-13 15:32:42 -07:00
parent ee6c9576d4
commit 997f2f0b3e
3 changed files with 57 additions and 18 deletions

View file

@ -151,6 +151,8 @@ async def _realtime_health_check(
url = openai_realtime._construct_url(
api_base=api_base or "https://api.openai.com/", model=model
)
else:
raise ValueError(f"Unsupported model: {model}")
async with websockets.connect( # type: ignore
url,
extra_headers={