feat(githubcopilot): add support for newer Copilot AI Models
Summary
Models that have reached end of support for Github Copilot have been removed and currently supported models have been added.
Type of Change
- [X] Feature
- [ ] Bug fix
- [ ] Refactor / Code quality
- [ ] Performance improvement
- [ ] Documentation
- [ ] Tests
- [ ] Security fix
- [ ] Build / Release
- [ ] Other (specify below)
Testing
Official Sources:
- https://docs.github.com/en/copilot/reference/ai-models/supported-models#supported-ai-models-in-copilot
- https://docs.github.com/en/copilot/reference/ai-models/supported-models#model-retirement-history
- https://docs.github.com/en/copilot/reference/ai-models/model-comparison#recommended-models-by-task
Related Issues
Screenshots/Demos (for UX changes)
Email: [email protected]
We have an issue with the GITHUB_COPILOT_STREAM_MODELS https://github.com/block/goose/issues/5510
We shouldn't add to that list until we resolve #5510
@ramazansancar I cannot repro https://github.com/block/goose/issues/5510 so I have closed it out and this PR looks good to me.
https://github.com/block/goose/pull/5603#issuecomment-3497578544 has a green build with the same commit from @ramazansancar cherry-picked atop main. We can merge that one