Skip to content

Commit

Permalink
Update libs/partners/fireworks/langchain_fireworks/chat_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan authored Sep 4, 2024
1 parent 5ad2b8c commit a91bd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/partners/fireworks/langchain_fireworks/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a91bd27

Please sign in to comment.