mirror of https://github.com/langgenius/dify.git
fix(graph_engine): NodeRunRetrieverResourceEvent is not handled (#27405)
This commit is contained in:
parent
15c1db42dd
commit
f45c18ee35
|
|
@ -24,6 +24,7 @@ from core.workflow.graph_events import (
|
|||
NodeRunLoopStartedEvent,
|
||||
NodeRunLoopSucceededEvent,
|
||||
NodeRunPauseRequestedEvent,
|
||||
NodeRunRetrieverResourceEvent,
|
||||
NodeRunRetryEvent,
|
||||
NodeRunStartedEvent,
|
||||
NodeRunStreamChunkEvent,
|
||||
|
|
@ -112,6 +113,7 @@ class EventHandler:
|
|||
@_dispatch.register(NodeRunLoopSucceededEvent)
|
||||
@_dispatch.register(NodeRunLoopFailedEvent)
|
||||
@_dispatch.register(NodeRunAgentLogEvent)
|
||||
@_dispatch.register(NodeRunRetrieverResourceEvent)
|
||||
def _(self, event: GraphNodeEventBase) -> None:
|
||||
self._event_collector.collect(event)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue