From a91bd2737a5b81a9f6f03f3552e32b675d1205d4 Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Tue, 3 Sep 2024 23:30:49 -0700 Subject: [PATCH] Update libs/partners/fireworks/langchain_fireworks/chat_models.py --- libs/partners/fireworks/langchain_fireworks/chat_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/partners/fireworks/langchain_fireworks/chat_models.py b/libs/partners/fireworks/langchain_fireworks/chat_models.py index 4983f51daaba2..5287157253008 100644 --- a/libs/partners/fireworks/langchain_fireworks/chat_models.py +++ b/libs/partners/fireworks/langchain_fireworks/chat_models.py @@ -389,7 +389,7 @@ def validate_environment(self) -> Self: "timeout": self.request_timeout, } - if not (self.client or None): + if not self.client: self.client = Fireworks(**client_params).chat.completions if not (self.async_client or None): self.async_client = AsyncFireworks(**client_params).chat.completions