forked from phoenix/litellm-mirror
Merge pull request #4879 from fracapuano/main
Add Single-Token predictions support for Replicate
This commit is contained in:
commit
c0c934d9cf
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ def process_response(
|
||||||
result = " "
|
result = " "
|
||||||
|
|
||||||
## Building RESPONSE OBJECT
|
## Building RESPONSE OBJECT
|
||||||
if len(result) > 1:
|
if len(result) >= 1:
|
||||||
model_response.choices[0].message.content = result # type: ignore
|
model_response.choices[0].message.content = result # type: ignore
|
||||||
|
|
||||||
# Calculate usage
|
# Calculate usage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue