Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: default model parameter precision (#1864)
takatost7be77c19f599
diff --git a/api/core/model_runtime/entities/defaults.py b/api/core/model_runtime/entities/defaults.pyindex 02929710dc5..a3109ba5857 100644--- a/api/core/model_runtime/entities/defaults.py+++ b/api/core/model_runtime/entities/defaults.py@@ -18,7 +18,7 @@ PARAMETER_RULE_TEMPLATE: Dict[DefaultParameterName, dict] = {'default': 0.0,'min': 0.0,'max': 1.0,- 'precision': 1,+ 'precision': 2,},DefaultParameterName.TOP_P: {'label': {@@ -34,7 +34,7 @@ PARAMETER_RULE_TEMPLATE: Dict[DefaultParameterName, dict] = {'default': 1.0,'min': 0.0,'max': 1.0,- 'precision': 1,+ 'precision': 2,},DefaultParameterName.PRESENCE_PENALTY: {'label': {@@ -50,7 +50,7 @@ PARAMETER_RULE_TEMPLATE: Dict[DefaultParameterName, dict] = {'default': 0.0,'min': 0.0,'max': 1.0,- 'precision': 1,+ 'precision': 2,},DefaultParameterName.FREQUENCY_PENALTY: {'label': {@@ -66,7 +66,7 @@ PARAMETER_RULE_TEMPLATE: Dict[DefaultParameterName, dict] = {'default': 0.0,'min': 0.0,'max': 1.0,- 'precision': 1,+ 'precision': 2,},DefaultParameterName.MAX_TOKENS: {'label': {