diff --git a/litellm/tests/test_custom_callback_input.py b/litellm/tests/test_custom_callback_input.py index 4296f188d..afaf7a54c 100644 --- a/litellm/tests/test_custom_callback_input.py +++ b/litellm/tests/test_custom_callback_input.py @@ -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)