Commit Graph

2 Commits

Author SHA1 Message Date
b743fd0afb Implement pull request review comments API
- Add get_pull_request_reviews() method to fetch all PR reviews
- Add get_review_comments() method to fetch comments for specific review
- Update get_pull_request_comments() to use proper review-based flow:
  1. Download all reviews of the pull request
  2. Download all comments for each review
  3. Return aggregated comments from all reviews
- Add review context (review_id, review_state) to comments for debugging
- Add error handling to continue processing if individual review fails
- Update tests to match current Claude Code command implementation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-09 13:41:27 +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