Skip to content

Commit

Permalink
fix(groq): Fix Max Retries for Groq (#7481)
Browse files Browse the repository at this point in the history
  • Loading branch information
weakit authored Jan 9, 2025
1 parent 2b43011 commit 67e00e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/langchain-groq/src/chat_models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ export class ChatGroq extends BaseChatModel<
this.client = new Groq({
apiKey,
dangerouslyAllowBrowser: true,
maxRetries: 0,
});
this.apiKey = apiKey;
this.temperature = fields?.temperature ?? this.temperature;
Expand Down

0 comments on commit 67e00e0

Please sign in to comment.