feat: Add max tokens setting for model generations
Adds a new setting to control the maximum number of tokens generated by the model. This provides more control over the length of responses and can be useful for limiting the amount of text generated in certain situations.
This commit is contained in:
@@ -70,6 +70,10 @@
|
||||
"label": "上下文数量",
|
||||
"placeholder": "输入上下文数量(默认:2048)"
|
||||
},
|
||||
"numPredict": {
|
||||
"label": "最大令牌数 (num_predict)",
|
||||
"placeholder": "输入最大令牌数(例如:2048、4096)"
|
||||
},
|
||||
"seed": {
|
||||
"label": "随机种子",
|
||||
"placeholder": "输入随机种子值(例如:1234)",
|
||||
|
||||
Reference in New Issue
Block a user