Skip to content

Commit

Permalink
FIX: fix the temperature value of ollama model (#4027)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-1511 committed May 15, 2024
1 parent e2a7888 commit 332baca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/model_runtime/model_providers/ollama/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def get_customizable_model_schema(self, model: str, credentials: dict) -> AIMode
"more creatively. (Default: 0.8)"),
default=0.1,
min=0,
max=2
max=1
),
ParameterRule(
name=DefaultParameterName.TOP_P.value,
Expand Down

0 comments on commit 332baca

Please sign in to comment.