-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
perplexity[patch]: standardize chat init args #20844
perplexity[patch]: standardize chat init args #20844
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@baskaryan related to 20085, let me know if you would like any changes. My first attempted contribution :) |
"""Base URL path for API requests, | ||
leave blank if not using a proxy or service emulator.""" | ||
request_timeout: Optional[Union[float, Tuple[float, float]]] = None | ||
request_timeout: Optional[Union[float, Tuple[float, float]]] = Field( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Run make format
to prettify the content
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @eyurtsev just ran ruff on the file, and updated the pull request.
Thank you for contributing to LangChain! community:perplexity[patch]: standardize init args updated pplx_api_key and request_timeout so that aliased to api_key, and timeout respectively. Added test that both continue to set the same underlying attributes. Related to [20085](#20085) --------- Co-authored-by: Bagatur <[email protected]>
Thank you for contributing to LangChain!
community:perplexity[patch]: standardize init args
updated pplx_api_key and request_timeout so that aliased to api_key, and timeout respectively. Added test that both continue to set the same underlying attributes.
Related to 20085