forked from phoenix/litellm-mirror
test: fix test
This commit is contained in:
parent
5926792de6
commit
364526d0bc
1 changed files with 6 additions and 1 deletions
|
@ -253,7 +253,12 @@ class CompletionCustomHandler(
|
|||
assert isinstance(end_time, datetime)
|
||||
## RESPONSE OBJECT
|
||||
assert isinstance(
|
||||
response_obj, (litellm.ModelResponse, litellm.EmbeddingResponse)
|
||||
response_obj,
|
||||
(
|
||||
litellm.ModelResponse,
|
||||
litellm.EmbeddingResponse,
|
||||
litellm.TextCompletionResponse,
|
||||
),
|
||||
)
|
||||
## KWARGS
|
||||
assert isinstance(kwargs["model"], str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue