Explorar el Código

fix: #5064 ProviderInitError github-copilot-enterprise (#5123)

Julian Visser hace 10 meses
padre
commit
52db0f23a6
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      packages/opencode/src/provider/provider.ts

+ 4 - 0
packages/opencode/src/provider/provider.ts

@@ -490,6 +490,10 @@ export namespace Provider {
         ...githubCopilot,
         id: "github-copilot-enterprise",
         name: "GitHub Copilot Enterprise",
+        models: mapValues(githubCopilot.models, (model) => ({
+          ...model,
+          providerID: "github-copilot-enterprise",
+        })),
       }
     }