-
Notifications
You must be signed in to change notification settings - Fork 758
M4 Mac compatibility #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M4 Mac compatibility #87
Conversation
* Improve the planner prompt. * [Cursor] Add token tracking and cost estimation Key changes: - Add TokenTracker module for tracking API token usage and costs - Implement per-day session management for usage tracking - Add support for OpenAI and Claude cost calculations - Update LLM API modules to track token usage - Fix and enhance unit tests across all modules - Add aiohttp for web scraping The token tracking system provides: - Token usage tracking for all LLM API calls - Cost estimation based on provider-specific pricing - Daily session management for usage statistics - Command-line interface for viewing usage summaries * [Cursor] Update token tracker and fix tests * [Cursor] Add multi-agent branch to CI workflow * [Cursor] Remove main branch from CI workflow * [Cursor] Fix plan_exec_llm tests to properly mock OpenAI client
* Update README.md (grapeot#34) * [Cursor] Improve test handling of LLM API configurations - Add test_utils.py with smart detection of unconfigured/example API keys - Add graceful error handling for API failures in live tests - Consolidate test assertions into helper method - Update README to document verbose test output - Clean up duplicate code in test files This improves the testing experience by: 1. Skipping tests when API keys are missing or using example values 2. Converting API errors to skipped tests rather than failures 3. Providing clear messages about why tests were skipped 4. Making test output more informative with -v flag --------- Co-authored-by: Ya Ge <[email protected]> Co-authored-by: badde57 <[email protected]>
- Fixed token_tracker import in llm_api.py to use relative imports - Added __init__.py to make tools a proper Python package - Updated aiohttp version in requirements.txt to match installed version All unit tests are now passing (44 passed, 2 skipped)
Hello, thanks for the PR. Could you please double-check the target branch? You tried to merge to the |
I cleaned the PR and submitted #94. So I'm closing this one for now. Thanks a lot for the contribution! |
Switch to grpcio==1.70.0 for better M4 Mac compatibility