Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept request_options in parameters #180

Merged
merged 3 commits into from
Apr 25, 2024

Conversation

jzaldi
Copy link
Contributor

@jzaldi jzaldi commented Apr 23, 2024

No description provided.

@jzaldi jzaldi marked this pull request as ready for review April 24, 2024 22:01
@@ -143,6 +144,10 @@ class _BaseGoogleGenerativeAI(BaseModel):
not return the full n completions if duplicates are generated."""
max_retries: int = 6
"""The maximum number of retries to make when generating."""

timeout: Optional[float] = None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also support api_transport parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in the other PR, I openned one per issue but could have been in this one tbf

@lkuligin lkuligin merged commit 002d5c5 into langchain-ai:main Apr 25, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants