Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
95ee7255
Commit
95ee7255
authored
Mar 14, 2024
by
takatost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix default configs
parent
f4836491
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
workflow_engine_manager.py
api/core/workflow/workflow_engine_manager.py
+1
-4
No files found.
api/core/workflow/workflow_engine_manager.py
View file @
95ee7255
...
@@ -54,10 +54,7 @@ class WorkflowEngineManager:
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment