Manual Control of Tree Expansion Budget | Generated by AI
Here’s what’s happening:
“Run Next Step” calls POST /api/tot/sessions/{id}/run with additional_budget. The scheduler then:
- Picks the best node from the frontier (scored, ranked by priority)
- Calls the modeling model — proposes one local reasoning step
- Calls the review/eval model — scores that step
- Adds the new child node to the tree
- Decrements the budget counter
Each click = one expansion cycle (one branch grows by one node). The tree grows incrementally rather than all at once.
Why you need to click manually: when you create a session with run_on_create: true it auto-runs the initial budget (default 8 expansions). After that budget is exhausted the scheduler stops and waits. “Run Next Step” lets you spend more budget on demand — you stay in control of how deep the tree grows instead of it running forever.
To auto-run more steps: increase the budget number in the input field next to the button before clicking, e.g. set it to 4 to run 4 more expansions at once.