mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(aim.py): fix linting error
This commit is contained in:
parent
ee6c9576d4
commit
997f2f0b3e
3 changed files with 57 additions and 18 deletions
|
@ -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={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue