(auth *Auth)
| 1001 | } |
| 1002 | |
| 1003 | func isAPIKeyAuth(auth *Auth) bool { |
| 1004 | if auth == nil { |
| 1005 | return false |
| 1006 | } |
| 1007 | return auth.AuthKind() == AuthKindAPIKey |
| 1008 | } |
| 1009 | |
| 1010 | func isOpenAICompatAPIKeyAuth(auth *Auth) bool { |
| 1011 | if !isAPIKeyAuth(auth) { |
no test coverage detected