Leaf-node steps in a parent branch are not properly separated away from links of child branch steps.
Steps to reproduce:
1. Create a a branch with 3 paths (2 defined + 1 fallback).
2. Add 2 think steps and 1 branch step (the branch step should be in the middle of all the siblings created in this step)
Workaround: Create a dummy think step (eg. "Pause for 1 ms.") This workaround is very brittle as other changes to your structure may cause the dummy step to become irrelevant.
References:
- Glean Agent URL (currently with "dummy steps" to fix UI): https://app.glean.com/chat/agents/dd0b2d1fc3764763ac40c083dd2e0477