We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2a6637 commit f170eebCopy full SHA for f170eeb
examples/graph/fanout/main.go
@@ -524,12 +524,10 @@ func (w *fanoutWorkflow) processStreamingResponse(eventChan <-chan *event.Event)
524
if w.handleErrorEvent(event) {
525
continue
526
}
527
- if event.Author == graph.AuthorGraphNode {
528
- w.handleGraphNodeEvent(event, maxPreviewLen)
529
- }
+ w.handleGraphNodeEvent(event, maxPreviewLen)
530
w.handleStreamingChoices(event, &workflowStarted)
531
w.trackStageProgress(event, &stageCount)
532
- if event.Done {
+ if event.IsRunnerCompletion() {
533
completionEvent = event
534
break
535
0 commit comments