mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 14:38:06 +08:00
completed workflow engine main logic
This commit is contained in:
@ -31,3 +31,11 @@ class BaseWorkflowCallback:
|
||||
Workflow node execute finished
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def on_text_chunk(self, text: str) -> None:
|
||||
"""
|
||||
Publish text chunk
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user