forked from phoenix/litellm-mirror
fix(anthropic.py): revert client to requests library
This commit is contained in:
parent
4bde501ee1
commit
c56456be64
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue