Skip to content

Conversation

habema
Copy link
Contributor

@habema habema commented Sep 2, 2025

Even though I wrote this page originally, it got confused about how session usage tracking works. The docs incorrectly suggested Runner.run() returns cumulative usage across sessions, when it actually returns per-run usage only.

Updated to clarify that each run returns its own usage metrics, and sessions just re-feed conversation history as input (which affects token counts but not usage aggregation).

@seratch seratch added the documentation Improvements or additions to documentation label Sep 2, 2025
@seratch seratch merged commit f76bf33 into openai:main Sep 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants