mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 02:05:11 +08:00
fix: Temperature limit in Google Gen AI model (#8133)
Update google_generative_ai.py
This commit is contained in:
@ -50,7 +50,7 @@ class GoogleGenerativeAIComponent(LCModelComponent):
|
||||
name="temperature",
|
||||
display_name="Temperature",
|
||||
value=0.1,
|
||||
range_spec=RangeSpec(min=0, max=2, step=0.01),
|
||||
range_spec=RangeSpec(min=0, max=1, step=0.01),
|
||||
info="Controls randomness. Lower values are more deterministic, higher values are more creative.",
|
||||
),
|
||||
IntInput(
|
||||
|
||||
Reference in New Issue
Block a user