mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Add responses mode to health check
This commit is contained in:
parent
bb3b77cbeb
commit
282eedb72b
1 changed files with 5 additions and 0 deletions
|
|
@ -5906,6 +5906,7 @@ async def ahealth_check(
|
|||
"batch",
|
||||
"rerank",
|
||||
"realtime",
|
||||
"responses",
|
||||
]
|
||||
] = "chat",
|
||||
prompt: Optional[str] = None,
|
||||
|
|
@ -6014,6 +6015,10 @@ async def ahealth_check(
|
|||
"batch": lambda: litellm.alist_batches(
|
||||
**_filter_model_params(model_params),
|
||||
),
|
||||
"responses": lambda: litellm.aresponses(
|
||||
**_filter_model_params(model_params),
|
||||
input=prompt or "test",
|
||||
),
|
||||
}
|
||||
|
||||
if mode in mode_handlers:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue