From 9c2555b24dd92c2dfd1bee4050250a009384b751 Mon Sep 17 00:00:00 2001 From: VadirajKranam Date: Thu, 28 Nov 2024 17:48:55 +0530 Subject: [PATCH] fix: change in string for condition check --- genai/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genai/client.go b/genai/client.go index 7e81777..333bc53 100644 --- a/genai/client.go +++ b/genai/client.go @@ -114,7 +114,7 @@ func hasAuthOption(opts []option.ClientOption) bool { case "option.withHTTPClient", "option.withTokenSource", - "option.withCredentialsFile", + "option.withCredFile", "option.withCredentialsJSON": return true }