bump copilot plugin, give better error message for copilot (#4678)

This commit is contained in:
Aiden Cline
2025-11-23 22:40:15 -08:00
committed by GitHub
parent b9b071c744
commit ac1e2bfd49
4 changed files with 13 additions and 3 deletions

View File

@@ -272,4 +272,12 @@ export namespace ProviderTransform {
return schema
}
export function error(providerID: string, message: string) {
if (providerID === "github-copilot" && message.includes("The requested model is not supported")) {
message +=
"\n\nMake sure the model is enabled in your copilot settings: https://github.com/settings/copilot/features"
}
return message
}
}