fix: now supports single tokens prediction
This commit is contained in:
parent
80800b9ec8
commit
5553f84d51
@ -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…
Reference in New Issue
Block a user