mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-11 21:41:36 +00:00
fix(provider): remove obsolete copilot model enablement instructions (#12739)
This commit is contained in:
parent
0cd52f830c
commit
d40dffb854
2 changed files with 0 additions and 8 deletions
|
|
@ -830,12 +830,6 @@ export namespace ProviderTransform {
|
|||
if (providerID.includes("github-copilot") && error.statusCode === 403) {
|
||||
return "Please reauthenticate with the copilot provider to ensure your credentials work properly with OpenCode."
|
||||
}
|
||||
if (providerID.includes("github-copilot") && message.includes("The requested model is not supported")) {
|
||||
return (
|
||||
message +
|
||||
"\n\nMake sure the model is enabled in your copilot settings: https://github.com/settings/copilot/features"
|
||||
)
|
||||
}
|
||||
|
||||
return message
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue