mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 16:38:04 +08:00
fix(api): Ensure is_resumption for node_started event is correctly set
This commit is contained in:
@ -319,7 +319,10 @@ class QueueNodeStartedEvent(AppQueueEvent):
|
||||
# FIXME(-LAN-): only for ToolNode, need to refactor
|
||||
provider_type: str # should be a core.tools.entities.tool_entities.ToolProviderType
|
||||
provider_id: str
|
||||
is_resumption: bool = False
|
||||
is_resumption: bool = Field(
|
||||
default=False,
|
||||
description="True only when this node had already started and execution resumed after a pause.",
|
||||
)
|
||||
|
||||
|
||||
class QueueNodeSucceededEvent(AppQueueEvent):
|
||||
|
||||
Reference in New Issue
Block a user