Files
Lukas Moschitz 1dde897af3 fix(showcase): stop langgraph-fastapi frontend-tools-async D6 loop
fixture[8] (userMessage:"project planning", turnIndex:0) returned a
query_notes toolCall. aimock matches userMessage by substring, so
"project planning" also matched the test prompt "Find my notes about
project planning"; as a turnIndex:0 'scripted turn' it beat the correct
terminal fixture[2] (toolCallId-keyed, content-only) on the follow-up turn,
so the agent kept getting another tool call and looped ~30x, never emitting
the done signal (D6 done-signal-missing).

Remove turnIndex:0 from fixture[8] so it's a plain fallback that loses to
the terminal fixture by registration order (matching the langgraph-typescript
shape). D6 now green: two real ~6s runs (was a 120s timeout).

Note: langgraph-python has the identical bug (still red) — same one-line fix
applies there; tracked separately.
2026-07-24 15:04:04 +02:00

5.6 KiB