forked from phoenix/litellm-mirror
test(test_custom_callback_input.py): fix assert
This commit is contained in:
parent
11e3ee4411
commit
42a2a2fe94
1 changed files with 2 additions and 2 deletions
|
@ -152,11 +152,11 @@ class CompletionCustomHandler(
|
|||
## RESPONSE OBJECT
|
||||
assert isinstance(
|
||||
response_obj,
|
||||
Union[
|
||||
(
|
||||
litellm.ModelResponse,
|
||||
litellm.EmbeddingResponse,
|
||||
litellm.ImageResponse,
|
||||
],
|
||||
),
|
||||
)
|
||||
## KWARGS
|
||||
assert isinstance(kwargs["model"], str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue