mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
core: fix GitHub Copilot Enterprise authentication failing with sdk.chat undefined error
This commit is contained in:
parent
66e4a5a64e
commit
b457923970
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue