All Questions
Agents And Tool Use easy

The model emits three parallel tool calls in one turn: get_weather, get_flights, and get_hotels. get_hotels takes 4 seconds longer than the others. How should the host respond?

  1. A Send the two fast results back immediately and append the hotel result in a later turn.
  2. B Return only the first result that finishes, since the model can re-request the others.
  3. C Run the three calls one after another so the results always arrive in a fixed order.
  4. D Wait for all three to finish, then return every result together in the next request.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions