{"agent":"claude","input":"Show token usage in this Streamlit chat app. Read Chatbot.py, every file under pages/, app_test.py, requirements.txt and .github/workflows first, and change only the pages that call the OpenAI chat completions API directly. Store each assistant reply's prompt_tokens and completion_tokens from the response's usage field with the message in session state, show them as a caption under that reply, keep a running total in session state shown as a metric in the sidebar, and strip the usage data from messages before they are sent back to the API. Do not add currency costs. Extend the existing AppTest in app_test.py so the mocked completion carries usage and assert the caption and the total, including a case with no usage field. Run pytest and ruff as the CI workflow does and open a pull request that links the issue.","resources":[{"url":"https://github.com/your-org/your-app"}]}