Generate Result
Final output of Agent.generate. When pendingApprovals is non-empty, the loop paused on tool approval — call Agent.generate again with messages plus tool-approval-response messages to resume.
Since
0.3.0-beta01
Properties
Link copied to clipboard
Link copied to clipboard
Full message log including all assistant + tool messages from this call.
Link copied to clipboard
Tool calls awaiting host decision. Empty when generation finished naturally.
Link copied to clipboard
Link copied to clipboard
Combined token usage across every step of this call (matching upstream's totalUsage).