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 1787adb commit 6132f0cCopy full SHA for 6132f0c
typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/agent.py
@@ -728,7 +728,7 @@ def end_step(self):
728
dispatch = self._dispatch_event(
729
StepFinishedEvent(
730
type=EventType.STEP_FINISHED,
731
- step_name=self.active_run["node_name"]
+ step_name=self.active_run["node_name"] or self.active_step
732
)
733
734
typescript-sdk/integrations/langgraph/src/agent.ts
@@ -977,7 +977,7 @@ export class LangGraphAgent extends AbstractAgent {
977
}
978
this.dispatchEvent({
979
type: EventType.STEP_FINISHED,
980
- stepName: this.activeRun!.nodeName!,
+ stepName: this.activeRun!.nodeName! ?? this.activeStep,
981
});
982
this.activeRun!.nodeName = undefined;
983
this.activeStep = undefined;
0 commit comments