mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-14 03:04:12 +00:00
test: fix test
This commit is contained in:
committed by
Ishaan Jaff
parent
17cabf013c
commit
aebb0e489c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user