Skip to content

Commit

Permalink
feat: update OpenAI component temperature limit to 1.0 (#6194)
Browse files Browse the repository at this point in the history
update openai component temperature max=1
  • Loading branch information
Cristhianzl authored Feb 12, 2025
1 parent 7e132b3 commit 39c4304
Show file tree
Hide file tree
Showing 14 changed files with 2,087 additions and 712 deletions.
2 changes: 1 addition & 1 deletion src/backend/base/langflow/components/models/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class OpenAIModelComponent(LCModelComponent):
required=True,
),
SliderInput(
name="temperature", display_name="Temperature", value=0.1, range_spec=RangeSpec(min=0, max=2, step=0.01)
name="temperature", display_name="Temperature", value=0.1, range_spec=RangeSpec(min=0, max=1, step=0.01)
),
IntInput(
name="seed",
Expand Down
Loading

0 comments on commit 39c4304

Please sign in to comment.