From 4fde7d655b9989d4ba3bc71beaaeae8f816310b0 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Sat, 9 Sep 2023 19:44:05 -0700 Subject: [PATCH] bump litellm v + default finish_reason to None --- litellm/utils.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/utils.py b/litellm/utils.py index 34c618b17..c24e07169 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -2210,7 +2210,7 @@ class CustomStreamWrapper: [ { "delta": completion_obj, - "finish_reason": "stop" + "finish_reason": None }, ] } diff --git a/pyproject.toml b/pyproject.toml index 0907ff1ac..907a4b777 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "litellm" -version = "0.1.582" +version = "0.1.583" description = "Library to easily interface with LLM API providers" authors = ["BerriAI"] license = "MIT License"