Extract aggregated token usage from an openai-agents RunResult.
Reads result.runContext.usage which the Agents SDK populates automatically across all model calls within a single run.
result.runContext.usage
Generated using TypeDoc
Extract aggregated token usage from an openai-agents RunResult.
Reads
result.runContext.usagewhich the Agents SDK populates automatically across all model calls within a single run.