From ae0c061b463b490bb0077570d7f7e7721dd11c14 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 11 May 2024 19:46:26 -0700 Subject: [PATCH] fix(anthropic.py): fix version compatibility --- litellm/llms/anthropic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/anthropic.py b/litellm/llms/anthropic.py index 4a9aabc22a7..5b5ed3f831e 100644 --- a/litellm/llms/anthropic.py +++ b/litellm/llms/anthropic.py @@ -160,7 +160,7 @@ class AnthropicChatCompletion(BaseLLM): logging_obj: litellm.utils.Logging, optional_params: dict, api_key: str, - data: dict | str, + data: Union[dict, str], messages: List, print_verbose, encoding,