mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
simplify ResponsesApiDeploymentCheck
This commit is contained in:
parent
39610d4888
commit
a582a067f4
5 changed files with 102 additions and 73 deletions
|
@ -769,9 +769,7 @@ class Router:
|
|||
model_list=self.model_list,
|
||||
)
|
||||
elif pre_call_check == "responses_api_deployment_check":
|
||||
_callback = ResponsesApiDeploymentCheck(
|
||||
cache=self.cache,
|
||||
)
|
||||
_callback = ResponsesApiDeploymentCheck()
|
||||
if _callback is not None:
|
||||
litellm.logging_callback_manager.add_litellm_callback(_callback)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue