mirror of
https://github.com/langgenius/dify.git
synced 2026-04-03 13:40:53 +08:00
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
Block a user