Skip to content

Commit a11afc2

Browse files
committed
fix tgi stream
1 parent e73db76 commit a11afc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightllm/server/api_tgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import json
1010

1111

12-
def format_tgi_params(params, num_beam: int):
12+
def format_tgi_params(params, num_beam: int = 1):
1313
"""
1414
tgi params format -> lightllm server params format
1515
pub(crate) struct GenerateParameters {

0 commit comments

Comments
 (0)