mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(aim.py): fix linting error
This commit is contained in:
parent
cf1cb664b3
commit
8887b89dc7
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