diff --git a/litellm/__pycache__/utils.cpython-311.pyc b/litellm/__pycache__/utils.cpython-311.pyc index 734fe46bb7..ae0db3f8d0 100644 Binary files a/litellm/__pycache__/utils.cpython-311.pyc and b/litellm/__pycache__/utils.cpython-311.pyc differ diff --git a/litellm/utils.py b/litellm/utils.py index 079821c1eb..137e4f9742 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -105,7 +105,7 @@ class Choices(OpenAIObject): if finish_reason: self.finish_reason = finish_reason else: - finish_reason = "stop" + self.finish_reason = "stop" self.index = index if message is None: self.message = Message(content=None) @@ -142,9 +142,9 @@ class ModelResponse(OpenAIObject): else: self.created = created if response_ms: - response_ms = response_ms + self.response_ms = response_ms else: - response_ms = None + self.response_ms = None self.model = model self.usage = ( usage diff --git a/pyproject.toml b/pyproject.toml index 707d9ac0b6..8bcdc880a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "litellm" -version = "0.1.718" +version = "0.1.719" description = "Library to easily interface with LLM API providers" authors = ["BerriAI"] license = "MIT License"