mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-28 06:48:50 +00:00
Update libs/partners/fireworks/langchain_fireworks/chat_models.py
This commit is contained in:
@@ -389,7 +389,7 @@ class ChatFireworks(BaseChatModel):
|
|||||||
"timeout": self.request_timeout,
|
"timeout": self.request_timeout,
|
||||||
}
|
}
|
||||||
|
|
||||||
if not (self.client or None):
|
if not self.client:
|
||||||
self.client = Fireworks(**client_params).chat.completions
|
self.client = Fireworks(**client_params).chat.completions
|
||||||
if not (self.async_client or None):
|
if not (self.async_client or None):
|
||||||
self.async_client = AsyncFireworks(**client_params).chat.completions
|
self.async_client = AsyncFireworks(**client_params).chat.completions
|
||||||
|
Reference in New Issue
Block a user