mirror of
https://github.com/langgenius/dify.git
synced 2026-04-12 14:10:42 +08:00
fix default configs
This commit is contained in:
parent
87a36a1fc8
commit
72d2f76d24
@ -54,10 +54,7 @@ class WorkflowEngineManager:
|
||||
for node_type, node_class in node_classes.items():
|
||||
default_config = node_class.get_default_config()
|
||||
if default_config:
|
||||
default_block_configs.append({
|
||||
'type': node_type.value,
|
||||
'config': default_config
|
||||
})
|
||||
default_block_configs.append(default_config)
|
||||
|
||||
return default_block_configs
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user