You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wanted to override interrupt_after in some cases based on a condition, should I just use a nodeInterrupt here instead of intterupt after. Although I prefer the interrupt_after/interrupt_before since it means all the navigation logic stays within the graph. So would prefer a way to override an interrupt_after based on condition within the code.
In the code below, I would want to based on some user input/ message type be able to override the intterupt after the start node as declared.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Wanted to override interrupt_after in some cases based on a condition, should I just use a nodeInterrupt here instead of intterupt after. Although I prefer the interrupt_after/interrupt_before since it means all the navigation logic stays within the graph. So would prefer a way to override an interrupt_after based on condition within the code.
In the code below, I would want to based on some user input/ message type be able to override the intterupt after the start node as declared.
Beta Was this translation helpful? Give feedback.
All reactions