Commit Graph

2 Commits

Author SHA1 Message Date
74c8e6a197 Re-implement pull request review comments handling
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 26s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 23s
- Fixed non-existing get_pull_request_comments() method in GiteaClient
- Added get_pull_request_reviews() method to fetch all PR reviews
- Added get_review_comments() method to fetch comments for each review
- Updated handle_pr_comments() to implement the correct flow:
  1. Download all reviews of the pull request
  2. For each review, download all comments
  3. Fix each comment for each review
- Updated test to match current ClaudeCodeSolver implementation
- All tests now pass

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-09 18:21:21 +02:00
325c0767f1 Add Claude Code integration with automatic model routing
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 26s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 23s
Implemented complete Claude Code support alongside existing Aider integration:
- ClaudeCodeSolver strategy with programmatic Claude Code CLI usage
- Intelligent model detection to route Anthropic models to Claude Code
- Shared post-solver cleanup function to eliminate code duplication
- CLAUDE_CODE_MESSAGE_FORMAT constant for maintainable prompts
- Comprehensive test suite with 18 passing tests
- Automatic ANTHROPIC_API_KEY environment setup

Users can now specify any Anthropic model (claude, sonnet, haiku, opus) to use Claude Code, while other models continue using Aider.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-09 01:18:11 +02:00