mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-16 17:53:37 +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(
|
request_timeout: Optional[Union[float, Tuple[float, float]]] = Field(
|
||||||
None, alias="timeout"
|
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
|
max_retries: int = 6
|
||||||
"""Maximum number of retries to make when generating."""
|
"""Maximum number of retries to make when generating."""
|
||||||
streaming: bool = False
|
streaming: bool = False
|
||||||
|
Loading…
Reference in New Issue
Block a user