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 a91bd27 commit d0cc9b0
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 @@ -391,7 +391,7 @@ def validate_environment(self) -> Self:

if not self.client:
self.client = Fireworks(**client_params).chat.completions
if not (self.async_client or None):
if not self.async_client:
self.async_client = AsyncFireworks(**client_params).chat.completions
if self.max_retries:
self.client._max_retries = self.max_retries
Expand Down

0 comments on commit d0cc9b0

Please sign in to comment.