mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
refactor workflow runner
This commit is contained in:
@ -43,7 +43,7 @@ class DirectAnswerNode(BaseNode):
|
||||
# publish answer as stream
|
||||
for word in answer:
|
||||
self.publish_text_chunk(word)
|
||||
time.sleep(0.01)
|
||||
time.sleep(0.01) # todo sleep 0.01
|
||||
|
||||
return NodeRunResult(
|
||||
status=WorkflowNodeExecutionStatus.SUCCEEDED,
|
||||
|
||||
Reference in New Issue
Block a user