fix(openai-compat): address review feedback

This commit is contained in:
chujian
2026-03-07 17:39:42 +08:00
parent 7c1299922e
commit a02eda54d0
2 changed files with 0 additions and 27 deletions
-3
View File
@@ -270,9 +270,6 @@ func isOpenAICompatAPIKeyAuth(auth *Auth) bool {
if !isAPIKeyAuth(auth) {
return false
}
if auth == nil {
return false
}
if strings.EqualFold(strings.TrimSpace(auth.Provider), "openai-compatibility") {
return true
}