diff --git a/litellm/llms/anthropic.py b/litellm/llms/anthropic.py index b666d9494..da51e887d 100644 --- a/litellm/llms/anthropic.py +++ b/litellm/llms/anthropic.py @@ -895,7 +895,7 @@ class AnthropicChatCompletion(BaseLLM): ): # if function call - fake the streaming (need complete blocks for output parsing in openai format) print_verbose("makes anthropic streaming POST request") data["stream"] = stream - response = client.post( + response = requests.post( api_base, headers=headers, data=json.dumps(data),