Skip to content

Interview question · Model API Foundations

Your streaming harness dispatches a tool as soon as the first delta names it. What goes wrong, and how do you fix the parser?

A question about the wire. The strong answer knows that a streamed tool call arrives as fragments keyed by index, accumulates them until the finish reason, parses once, and separates what the user needs to see from what the loop needs to wait for.

mediumNewUpdated Nov 2026

A question about the wire. The strong answer knows that a streamed tool call arrives as fragments keyed by index, accumulates them until the finish reason, parses once, and separates what the user needs to see from what the loop needs to wait for.

Make your first attempt

Before you read on, answer it yourself

  1. 01 State the assumptions your answer depends on.
  2. 02 Explain the mechanism and choose a control.
  3. 03 Say what fact, if it changed, would flip your answer.

Then open the worked answer: the approach, how a panel scores it, and the follow-ups. Check where your reasoning diverged.

6 answers per topic instead of 5, plus saved progress and bookmarks · costs nothingor unlock all 237 remaining answers · $25

All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.

6 months · One payment · No auto-renewal

UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.