Skip to content

Commit 1f80c3b

Browse files
authored
Update pkg/model/provider/provider.go
1 parent f3eb4d2 commit 1f80c3b

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

pkg/model/provider/provider.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -546,12 +546,7 @@ func resolveEffectiveProvider(cfg latest.ProviderConfig) string {
546546
}
547547

548548
func isGithubCopilotProvider(providerType string) bool {
549-
switch providerType {
550-
case "github-copilot":
551-
return true
552-
default:
553-
return false
554-
}
549+
return providerType == "github-copilot"
555550
}
556551

557552
func isCopilotResponsesModel(model string) bool {

0 commit comments

Comments
 (0)