mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
fix(anthropic.py): fix streaming client
This commit is contained in:
parent
9e098326d0
commit
335cf65452
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
Reference in a new issue