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
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (providerID === "github-copilot") {
|
if (providerID === "github-copilot" || providerID === "github-copilot-enterprise") {
|
||||||
provider.info.npm = "@ai-sdk/github-copilot"
|
provider.info.npm = "@ai-sdk/github-copilot"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue