mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 01:26:33 +08:00
fix default configs
This commit is contained in:
parent
f48364914b
commit
95ee72556f
@ -54,10 +54,7 @@ class WorkflowEngineManager:
|
|||||||
for node_type, node_class in node_classes.items():
|
for node_type, node_class in node_classes.items():
|
||||||
default_config = node_class.get_default_config()
|
default_config = node_class.get_default_config()
|
||||||
if default_config:
|
if default_config:
|
||||||
default_block_configs.append({
|
default_block_configs.append(default_config)
|
||||||
'type': node_type.value,
|
|
||||||
'config': default_config
|
|
||||||
})
|
|
||||||
|
|
||||||
return default_block_configs
|
return default_block_configs
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user