Skip to content

Commit ce3d094

Browse files
committed
fix: Change the max_token of the Qianfan large model to max_output_token
1 parent 0ec198f commit ce3d094

File tree

1 file changed

+1
-1
lines changed
  • apps/setting/models_provider/impl/wenxin_model_provider/credential

1 file changed

+1
-1
lines changed

apps/setting/models_provider/impl/wenxin_model_provider/credential/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class WenxinLLMModelParams(BaseForm):
2727
_step=0.01,
2828
precision=2)
2929

30-
max_tokens = forms.SliderField(
30+
max_output_tokens = forms.SliderField(
3131
TooltipLabel(_('Output the maximum Tokens'),
3232
_('Specify the maximum number of tokens that the model can generate')),
3333
required=True, default_value=1024,

0 commit comments

Comments
 (0)