Skip to content

Commit d12802c

Browse files
authored
fix(genai): respect max_retries in classic GoogleGenerativeAI LLM (#1447)
Fixes #1445
1 parent c145c86 commit d12802c

File tree

1 file changed

+1
-0
lines changed
  • libs/genai/langchain_google_genai

1 file changed

+1
-0
lines changed

libs/genai/langchain_google_genai/llms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def validate_environment(self) -> Self:
7979
top_p=self.top_p,
8080
top_k=self.top_k,
8181
max_tokens=self.max_output_tokens,
82+
max_retries=self.max_retries,
8283
timeout=self.timeout,
8384
model=self.model,
8485
base_url=self.base_url,

0 commit comments

Comments
 (0)