mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
fix: now supports single tokens prediction
This commit is contained in:
parent
a190bc750f
commit
c86f8e1eb4
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ def process_response(
|
|||
result = " "
|
||||
|
||||
## Building RESPONSE OBJECT
|
||||
if len(result) > 1:
|
||||
if len(result) >= 1:
|
||||
model_response.choices[0].message.content = result # type: ignore
|
||||
|
||||
# Calculate usage
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue