TradingAgents/api
Ali AL OGAILI 29a338d957 feat: add token usage tracking and reporting to run service
- Introduced TokenCallbackHandler to track input and output token usage during LLM operations.
- Updated RunResult model to include token usage data.
- Enhanced RunsStore to support token usage persistence in the database.
- Modified RunService to yield token usage information during event streaming.
- Implemented UI components to display token statistics in the run detail view.
- Added tests for token handling and reporting functionality.

Made-with: Cursor
2026-03-24 00:40:38 +01:00
..
callbacks feat: add token usage tracking and reporting to run service 2026-03-24 00:40:38 +01:00
models feat: add token usage tracking and reporting to run service 2026-03-24 00:40:38 +01:00
routers feat: add token usage tracking and reporting to run service 2026-03-24 00:40:38 +01:00
services feat: add token usage tracking and reporting to run service 2026-03-24 00:40:38 +01:00
store feat: add token usage tracking and reporting to run service 2026-03-24 00:40:38 +01:00
__init__.py feat: add FastAPI-based API for trading agents 2026-03-23 04:45:08 +01:00
main.py feat: initialize trading agents project with FastAPI and essential configurations 2026-03-23 05:16:57 +01:00
requirements.txt feat: add FastAPI-based API for trading agents 2026-03-23 04:45:08 +01:00
settings.json feat: initialize trading agents project with FastAPI and essential configurations 2026-03-23 05:16:57 +01:00