fix: Ollama maximum output token field (#2973)

This commit is contained in:
shaohuzhang1 2025-04-24 16:16:36 +08:00 committed by GitHub
parent 8d503c8bf8
commit 33b1cd65b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ class OllamaLLMModelParams(BaseForm):
_step=0.01,
precision=2)
max_tokens = forms.SliderField(
num_predict = forms.SliderField(
TooltipLabel(_('Output the maximum Tokens'),
_('Specify the maximum number of tokens that the model can generate')),
required=True, default_value=1024,