From 42a2a2fe940ef8036665e269b17d509807a4f597 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 22 Jan 2024 20:39:14 -0800 Subject: [PATCH] test(test_custom_callback_input.py): fix assert --- litellm/tests/test_custom_callback_input.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/tests/test_custom_callback_input.py b/litellm/tests/test_custom_callback_input.py index 532fac5d795..556628d828f 100644 --- a/litellm/tests/test_custom_callback_input.py +++ b/litellm/tests/test_custom_callback_input.py @@ -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)