mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
test(test_custom_callback_input.py): fix assert
This commit is contained in:
parent
579dfc3013
commit
fb958e5244
1 changed files with 2 additions and 2 deletions
|
@ -152,11 +152,11 @@ class CompletionCustomHandler(
|
||||||
## RESPONSE OBJECT
|
## RESPONSE OBJECT
|
||||||
assert isinstance(
|
assert isinstance(
|
||||||
response_obj,
|
response_obj,
|
||||||
Union[
|
(
|
||||||
litellm.ModelResponse,
|
litellm.ModelResponse,
|
||||||
litellm.EmbeddingResponse,
|
litellm.EmbeddingResponse,
|
||||||
litellm.ImageResponse,
|
litellm.ImageResponse,
|
||||||
],
|
),
|
||||||
)
|
)
|
||||||
## KWARGS
|
## KWARGS
|
||||||
assert isinstance(kwargs["model"], str)
|
assert isinstance(kwargs["model"], str)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue