mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 05:10:58 +08:00
core: fix GitHub Copilot Enterprise authentication failing with sdk.chat undefined error
This commit is contained in:
@@ -515,7 +515,7 @@ export namespace Provider {
|
||||
continue
|
||||
}
|
||||
|
||||
if (providerID === "github-copilot") {
|
||||
if (providerID === "github-copilot" || providerID === "github-copilot-enterprise") {
|
||||
provider.info.npm = "@ai-sdk/github-copilot"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user