forked from phoenix/litellm-mirror
fix(utils.py): set text if empty string
This commit is contained in:
parent
d5f67a0a25
commit
ef7795add6
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ class TextChoices(OpenAIObject):
|
|||
else:
|
||||
self.finish_reason = "stop"
|
||||
self.index = index
|
||||
if text:
|
||||
if text is not None:
|
||||
self.text = text
|
||||
else:
|
||||
self.text = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue