From 3d14f4039eaef321b15bcbf70839389d7f000233 Mon Sep 17 00:00:00 2001 From: Vadiraj Karanam <90848631+VadirajKranam@users.noreply.github.com> Date: Wed, 4 Dec 2024 22:21:16 +0530 Subject: [PATCH] fix: change in string for condition check (#232) Fixes #231 --- 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 }