Преглед изворни кода

FIX: fix the temperature value of ollama model (#4027)

Yash Parmar пре 11 месеци
родитељ
комит
332baca538
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      api/core/model_runtime/model_providers/ollama/llm/llm.py

+ 1 - 1
api/core/model_runtime/model_providers/ollama/llm/llm.py

@@ -451,7 +451,7 @@ class OllamaLargeLanguageModel(LargeLanguageModel):
                                           "more creatively. (Default: 0.8)"),
                     default=0.1,
                     min=0,
-                    max=2
+                    max=1
                 ),
                 ParameterRule(
                     name=DefaultParameterName.TOP_P.value,