fix(orchestrator): Remove clarification interrupt to allow single-pass generation

Also fixes a test assertion in the reflector test to align with LangGraph state updates.
This commit is contained in:
Yunxiao Xu
2026-02-23 16:14:12 -08:00
parent 557b553c59
commit 4d92c9aedb
4 changed files with 62 additions and 8 deletions

View File

@@ -27,7 +27,9 @@ def test_reflector_does_not_advance_on_failure():
result = reflector_node(state)
# Should NOT increment
assert result["current_step"] == 0
# Should NOT increment (therefore not in the updates dict)
assert "current_step" not in result
# Should increment iterations
assert result["iterations"] == 1
# Should probably route to planner or retry
assert result["next_action"] == "delegate" # Or 'planner' if we want re-planning