Commit Graph

6 Commits

Author SHA1 Message Date
Ali AL OGAILI d3d69b2d56 feat: parse chief_analyst report in useRunStream reducer 2026-03-24 14:08:12 +01:00
Ali AL OGAILI 9a46424e61 feat: add chief_analyst AgentStep, summary phase, and ChiefAnalystReport type 2026-03-24 14:08:05 +01:00
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
Ali AL OGAILI 723069b958 feat: implement API client and SSE connection for trading agents
- Added api-client module with functions for creating and listing runs, and fetching settings.
- Introduced SSE connection handling for real-time updates with event listeners for agent and run events.
- Created types for agents and runs to support the new API structure.
- Updated .gitignore to ensure proper exclusion of Next.js library directories.

Made-with: Cursor
2026-03-23 05:44:46 +01:00
Ali AL OGAILI 0690f628ab feat: update UI styles and add lightningcss dependency
- Introduced lightningcss as a dependency for enhanced styling capabilities.
- Updated global CSS variables to reflect a new design theme, including background, border, and text colors.
- Modified layout components to incorporate new fonts and improved spacing.
- Enhanced sidebar and dashboard layouts with subtle background textures and improved responsiveness.
- Refined button styles and added new animations for a more dynamic user experience.
- Improved the Run History Table with a new grid layout and status indicators.
2026-03-23 05:18:06 +01:00
Ali AL OGAILI ae6776afc3 feat: initialize trading agents project with FastAPI and essential configurations
- Added FastAPI-based API structure with routers for runs and settings management.
- Implemented endpoints for creating, listing, and retrieving run configurations.
- Introduced settings management with load and update functionality.
- Created models for run configurations and settings using Pydantic.
- Established a store for managing run states and results.
- Enhanced .gitignore to exclude node_modules and results directories.
- Added package.json and package-lock.json for frontend dependencies.
- Included initial tests for API endpoints and model validations.
2026-03-23 05:16:57 +01:00