Skip to content

Commit d40dffb

Browse files
fix(provider): remove obsolete copilot model enablement instructions (#12739)
1 parent 0cd52f8 commit d40dffb

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

packages/opencode/src/provider/transform.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -830,12 +830,6 @@ export namespace ProviderTransform {
830830
if (providerID.includes("github-copilot") && error.statusCode === 403) {
831831
return "Please reauthenticate with the copilot provider to ensure your credentials work properly with OpenCode."
832832
}
833-
if (providerID.includes("github-copilot") && message.includes("The requested model is not supported")) {
834-
return (
835-
message +
836-
"\n\nMake sure the model is enabled in your copilot settings: https://github.com/settings/copilot/features"
837-
)
838-
}
839833

840834
return message
841835
}

packages/web/src/content/docs/providers.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,8 +791,6 @@ To use your GitHub Copilot subscription with opencode:
791791
:::note
792792
Some models might need a [Pro+
793793
subscription](https://github.com/features/copilot/plans) to use.
794-
795-
Some models need to be manually enabled in your [GitHub Copilot settings](https://docs.github.com/en/copilot/how-tos/use-ai-models/configure-access-to-ai-models#setup-for-individual-use).
796794
:::
797795

798796
1. Run the `/connect` command and search for GitHub Copilot.

0 commit comments

Comments
 (0)