diff options
| author | Ola <[email protected]> | 2025-11-04 22:36:12 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-04 15:36:12 -0600 |
| commit | fe94bb8e50ed9625e553cc7bd79d3a02889c2979 (patch) | |
| tree | 1777af638ffe04a950712d644b2555454cfcd08e /packages/sdk/js/src | |
| parent | ba8bc1b8b488e10eec8c0b915a753f4810164343 (diff) | |
| download | opencode-fe94bb8e50ed9625e553cc7bd79d3a02889c2979.tar.gz opencode-fe94bb8e50ed9625e553cc7bd79d3a02889c2979.zip | |
feat(provider): add GitHub Enterprise support for Copilot (#2522)
Co-authored-by: Jon-Mikkel Korsvik <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Diffstat (limited to 'packages/sdk/js/src')
| -rw-r--r-- | packages/sdk/js/src/gen/types.gen.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts index d4b763324..0c0135b4f 100644 --- a/packages/sdk/js/src/gen/types.gen.ts +++ b/packages/sdk/js/src/gen/types.gen.ts @@ -406,6 +406,10 @@ export type Config = { apiKey?: string baseURL?: string /** + * GitHub Enterprise URL for copilot authentication + */ + enterpriseUrl?: string + /** * Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout. */ timeout?: number | false @@ -1135,6 +1139,7 @@ export type OAuth = { refresh: string access: string expires: number + enterpriseUrl?: string } export type ApiAuth = { |
