[PR #12739] fix(provider): remove obsolete copilot model enablement instructions #14347

Closed
opened 2026-02-16 18:19:09 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12739

State: closed
Merged: Yes


What does this PR do?

Closes #12737 (created issue for correctly following CONTRIBUTING.md)

Deletes 6 lines of code and 2 lines of docs because Github Copilot deprecated this "enabling models". Now new models are automatically enabled

Sources:
https://github.blog/changelog/2026-02-03-simplified-copilot-model-enablement-experience-for-individual-users/
https://www.reddit.com/r/GithubCopilot/comments/1qwt7lh/claude_opus_46_is_now_available_on_github_copilot/
And in your this don't appear anymore https://github.com/settings/copilot/features

How did you verify your code works?

For provider changes:

cd packages/opencode
bun test test/provider/transform.test.ts

But as far as I know there is no tests that cover that specific thing

For docs changed:

bun i
bun run --cwd packages/web dev

Result:
image

A future improvement could provide a more context-aware error for enterprise users. Now that the error "The requested model is not supported" shouldn't be reachable for individual users

I don't want contributor for this. This is too shallow

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12739 **State:** closed **Merged:** Yes --- ### What does this PR do? Closes #12737 (created issue for correctly following CONTRIBUTING.md) Deletes 6 lines of code and 2 lines of docs because Github Copilot deprecated this "enabling models". Now new models are automatically enabled Sources: https://github.blog/changelog/2026-02-03-simplified-copilot-model-enablement-experience-for-individual-users/ https://www.reddit.com/r/GithubCopilot/comments/1qwt7lh/claude_opus_46_is_now_available_on_github_copilot/ And in your this don't appear anymore https://github.com/settings/copilot/features ### How did you verify your code works? For provider changes: ```bash cd packages/opencode bun test test/provider/transform.test.ts ``` But as far as I know there is no tests that cover that specific thing For docs changed: ```bash bun i bun run --cwd packages/web dev ``` Result: <img width="830" height="268" alt="image" src="https://github.com/user-attachments/assets/88fe1bf3-170b-47bd-89e3-4ba0e31307d3" /> A future improvement could provide a more context-aware error for enterprise users. Now that the error "The requested model is not supported" shouldn't be reachable for individual users I don't want contributor for this. This is too shallow
yindo added the pull-request label 2026-02-16 18:19:09 -05:00
yindo closed this issue 2026-02-16 18:19:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14347