Update libs/partners/fireworks/langchain_fireworks/chat_models.py

This commit is contained in:
Bagatur
2024-09-03 23:30:49 -07:00
committed by GitHub
parent 5ad2b8ce80
commit a91bd2737a

View File

@@ -389,7 +389,7 @@ class ChatFireworks(BaseChatModel):
"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