Skip to content

Commit

Permalink
bump litellm version to 1.35.33
Browse files Browse the repository at this point in the history
  • Loading branch information
elisalimli committed May 1, 2024
1 parent 6fb91fb commit 67609c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions libs/superagent/app/agents/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ async def _completion(self, **kwargs) -> Any:

for chunk in res:
new_message = chunk.choices[0].delta.dict()
print("new_message", new_message)
# clean up tool calls
if new_message.get("tool_calls"):
new_message["role"] = "assistant"
Expand All @@ -282,7 +281,6 @@ async def _completion(self, **kwargs) -> Any:

output = self._cleanup_output(output)

print("self._stream_directly", self._stream_directly)
if not self._stream_directly:
await self._stream_by_lines(output)

Expand Down Expand Up @@ -316,7 +314,6 @@ async def ainvoke(self, input, *_, **kwargs):
stream=self.enable_streaming,
**self.llm_data.params.dict(exclude_unset=True),
)
print("output", output)

return {
"intermediate_steps": self.intermediate_steps,
Expand Down
8 changes: 4 additions & 4 deletions libs/superagent/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libs/superagent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ openai = "^1.1.1"
langchain-experimental = "^0.0.37"
pydub = "^0.25.1"
algoliasearch = "^3.0.0"
litellm = "1.35.21"
litellm = "1.35.33"
weaviate-client = "^3.25.3"
qdrant-client = "^1.6.9"
vecs = "^0.4.2"
Expand Down

0 comments on commit 67609c9

Please sign in to comment.