Asks several support-ticket questions in a single call, including bug- and billing-specific ones, then uses only the answers relevant to the selected category.
Original by TypeSafe AIAgent workflowsTypeSafe patternSource reviewed
Before you dive in
What you’ll find in the original
Batch questions that share the same current state.
Ask branch-specific questions speculatively when an extra network round trip costs more.
Keep routing logic in code and ignore answers for branches not taken.
Worth knowing
A later question that needs new tool results cannot be answered by the same speculative request.