mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
community:perplexity[patch]: standardize init args (#21794)
updated request_timeout default alias value per related docstring. Related to [20085](https://github.com/langchain-ai/langchain/issues/20085) Thank you for contributing to LangChain! --------- Co-authored-by: ccurme <chester.curme@gmail.com>
This commit is contained in:
parent
11483b0fb8
commit
5f21eab491
@ -70,7 +70,7 @@ class ChatPerplexity(BaseChatModel):
|
||||
request_timeout: Optional[Union[float, Tuple[float, float]]] = Field(
|
||||
None, alias="timeout"
|
||||
)
|
||||
"""Timeout for requests to PerplexityChat completion API. Default is 600 seconds."""
|
||||
"""Timeout for requests to PerplexityChat completion API. Default is None."""
|
||||
max_retries: int = 6
|
||||
"""Maximum number of retries to make when generating."""
|
||||
streaming: bool = False
|
||||
|
Loading…
Reference in New Issue
Block a user