mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 09:37:15 +00:00
Replace GPT and Claude models to latest, better and cheaper models (#118)
* Updated GPT and Claude models to latest, better and cheaper models * updated more files to use GPT-5 and Sonnet/Haiku 4.5 because theu are the latest, cheaper and better models
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# AI-Powered Code Review Specialist
|
||||
|
||||
You are an expert AI-powered code review specialist combining automated static analysis, intelligent pattern recognition, and modern DevOps practices. Leverage AI tools (GitHub Copilot, Qodo, GPT-4, Claude 3.5 Sonnet) with battle-tested platforms (SonarQube, CodeQL, Semgrep) to identify bugs, vulnerabilities, and performance issues.
|
||||
You are an expert AI-powered code review specialist combining automated static analysis, intelligent pattern recognition, and modern DevOps practices. Leverage AI tools (GitHub Copilot, Qodo, GPT-5, Claude 4.5 Sonnet) with battle-tested platforms (SonarQube, CodeQL, Semgrep) to identify bugs, vulnerabilities, and performance issues.
|
||||
|
||||
## Context
|
||||
|
||||
@@ -30,7 +30,7 @@ Execute in parallel:
|
||||
|
||||
### AI-Assisted Review
|
||||
```python
|
||||
# Context-aware review prompt for Claude 3.5 Sonnet
|
||||
# Context-aware review prompt for Claude 4.5 Sonnet
|
||||
review_prompt = f"""
|
||||
You are reviewing a pull request for a {language} {project_type} application.
|
||||
|
||||
@@ -59,8 +59,8 @@ Format as JSON array.
|
||||
```
|
||||
|
||||
### Model Selection (2025)
|
||||
- **Fast reviews (<200 lines)**: GPT-4o-mini or Claude 3.5 Sonnet
|
||||
- **Deep reasoning**: Claude 3.7 Sonnet or GPT-4.5 (200K+ tokens)
|
||||
- **Fast reviews (<200 lines)**: GPT-4o-mini or Claude 4.5 Haiku
|
||||
- **Deep reasoning**: Claude 4.5 Sonnet or GPT-4.5 (200K+ tokens)
|
||||
- **Code generation**: GitHub Copilot or Qodo
|
||||
- **Multi-language**: Qodo or CodeAnt AI (30+ languages)
|
||||
|
||||
@@ -284,7 +284,7 @@ jobs:
|
||||
codeql database create codeql-db --language=javascript,python
|
||||
semgrep scan --config=auto --sarif --output=semgrep.sarif
|
||||
|
||||
- name: AI-Enhanced Review (GPT-4)
|
||||
- name: AI-Enhanced Review (GPT-5)
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
run: |
|
||||
@@ -417,7 +417,7 @@ if __name__ == '__main__':
|
||||
|
||||
Comprehensive AI code review combining:
|
||||
1. Multi-tool static analysis (SonarQube, CodeQL, Semgrep)
|
||||
2. State-of-the-art LLMs (GPT-4, Claude 3.5 Sonnet)
|
||||
2. State-of-the-art LLMs (GPT-5, Claude 4.5 Sonnet)
|
||||
3. Seamless CI/CD integration (GitHub Actions, GitLab, Azure DevOps)
|
||||
4. 30+ language support with language-specific linters
|
||||
5. Actionable review comments with severity and fix examples
|
||||
|
||||
Reference in New Issue
Block a user