mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Ollama maximum output token field (#2973)
This commit is contained in:
parent
8d503c8bf8
commit
33b1cd65b0
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue