mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
fix merge conflict
This commit is contained in:
parent
34c676a8ec
commit
8fbaf14509
4 changed files with 1 additions and 5 deletions
BIN
dist/litellm-0.1.645-py3-none-any.whl
vendored
Normal file
BIN
dist/litellm-0.1.645-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
dist/litellm-0.1.645.tar.gz
vendored
Normal file
BIN
dist/litellm-0.1.645.tar.gz
vendored
Normal file
Binary file not shown.
|
@ -2451,11 +2451,7 @@ class CustomStreamWrapper:
|
|||
|
||||
def __next__(self):
|
||||
try:
|
||||
<<<<<<< HEAD
|
||||
completion_obj = {"content": "", "role": ""} # default to role being assistant
|
||||
=======
|
||||
completion_obj = {"content": ""} # default to role being assistant
|
||||
>>>>>>> 31d771b (fix streaming error)
|
||||
if self.model in litellm.anthropic_models:
|
||||
chunk = next(self.completion_stream)
|
||||
completion_obj["content"] = self.handle_anthropic_chunk(chunk)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "litellm"
|
||||
version = "0.1.645"
|
||||
version = "0.1.646"
|
||||
description = "Library to easily interface with LLM API providers"
|
||||
authors = ["BerriAI"]
|
||||
license = "MIT License"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue