mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(Bug Fix) Add health check support for realtime models (#7453)
* add mode: realtime * add _realtime_health_check * test_realtime_health_check * azure _realtime_health_check * _realtime_health_check * Realtime Models * fix code quality
This commit is contained in:
parent
5c1e8b60d4
commit
4e65722a00
6 changed files with 110 additions and 1 deletions
|
@ -5153,7 +5153,13 @@ async def ahealth_check( # noqa: PLR0915
|
|||
model_params: dict,
|
||||
mode: Optional[
|
||||
Literal[
|
||||
"completion", "embedding", "image_generation", "chat", "batch", "rerank"
|
||||
"completion",
|
||||
"embedding",
|
||||
"image_generation",
|
||||
"chat",
|
||||
"batch",
|
||||
"rerank",
|
||||
"realtime",
|
||||
]
|
||||
] = None,
|
||||
prompt: Optional[str] = None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue