Skip to content

Commit 52db0f2

Browse files
authored
fix: anomalyco#5064 ProviderInitError github-copilot-enterprise (anomalyco#5123)
1 parent 60388f7 commit 52db0f2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/opencode/src/provider/provider.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,10 @@ export namespace Provider {
490490
...githubCopilot,
491491
id: "github-copilot-enterprise",
492492
name: "GitHub Copilot Enterprise",
493+
models: mapValues(githubCopilot.models, (model) => ({
494+
...model,
495+
providerID: "github-copilot-enterprise",
496+
})),
493497
}
494498
}
495499

0 commit comments

Comments
 (0)