Skip to content

Pr 56#57

Closed
btotharye wants to merge 3 commits intomainfrom
pr-56
Closed

Pr 56#57
btotharye wants to merge 3 commits intomainfrom
pr-56

Conversation

@btotharye
Copy link
Copy Markdown
Owner

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Content pack addition/update
  • CI/CD or tooling change

Changes Made

Testing

  • Tests pass locally (make test)
  • Linting passes (make lint)
  • Formatting is correct (make format-check)
  • Tested manually with:

Related Issues

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes

Additional Notes

Greybeard Agent and others added 3 commits March 25, 2026 10:51
- Implement CopilotBackend class routing to api.githubcopilot.com
- Support GitHub token authentication (GITHUB_TOKEN env var)
- Add --backend and --github-token CLI options to analyze, self-check, coach
- Create Backend base abstraction for future extensibility
- Add model name resolution (friendly names to full IDs)
- Support Claude 3.5 Sonnet/Haiku, Claude 3 Opus, GPT-4/4o models
- Comprehensive test suite: 57 tests, 89% backend coverage
- Full CLI integration with help and examples
- Config updates for Copilot backend defaults
- Analyzer integration with streaming and non-streaming support
- Production-ready with clean linting and error handling

Tests passing: 57/57
Coverage: 89% on CopilotBackend, 100% on Backend base class
Linting: All checks pass (ruff E,W,F)
- Update Copilot backend MODEL_MAPPING to use claude-sonnet-4-6 and claude-opus-4-6
- Set default Copilot model from claude-3-5-sonnet-20241022 to claude-sonnet-4-6
- Update config.py DEFAULT_MODELS['copilot'] to use claude-sonnet-4-6
- Update CLI help text to reference new 4.6 models
- Update analyzer.py module docstring with new model examples
- Update documentation (README, backends guide, config schema, CLI reference)
- Update issue template with 4.6 model examples
- Maintain backward compatibility with legacy Claude 3.5 models
- Update all test expectations for the new default models
- Add friendly name resolution: 'claude' -> claude-sonnet-4-6, 'claude-opus' -> claude-opus-4-6
- Verified all tests pass with new model defaults
- Cache OpenAI client instances per token/URL combination
- Reuse clients across multiple API calls
- Saves ~100ms per request when backend used multiple times
- No breaking changes, fully backward compatible
@btotharye btotharye closed this Mar 26, 2026
@btotharye btotharye deleted the pr-56 branch March 26, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants