We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3eb4d2 commit 1f80c3bCopy full SHA for 1f80c3b
1 file changed
pkg/model/provider/provider.go
@@ -546,12 +546,7 @@ func resolveEffectiveProvider(cfg latest.ProviderConfig) string {
546
}
547
548
func isGithubCopilotProvider(providerType string) bool {
549
- switch providerType {
550
- case "github-copilot":
551
- return true
552
- default:
553
- return false
554
- }
+ return providerType == "github-copilot"
555
556
557
func isCopilotResponsesModel(model string) bool {
0 commit comments