pub type RunResult = Turn;Expand description
Alias for Turn to describe the result of Thread::run.
Aliased Type§
pub struct RunResult {
pub items: Vec<ThreadItem>,
pub final_response: String,
pub usage: Option<Usage>,
}Fields§
§items: Vec<ThreadItem>Completed items emitted during the turn.
final_response: StringFinal assistant response text from the latest agent_message item.
usage: Option<Usage>Token usage when reported by the CLI.