Skip to content

Commit

Permalink
fix: add comment for
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjz committed Nov 9, 2023
1 parent d74d20e commit 17ce3a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/qianfan/resources/llm/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ def do(
The maximum time (in seconds) to wait for a response from the model.
backoff_factor (float):
A factor to increase the waiting time between retry attempts.
auto_concat_truncate (bool):
If set to True, continuously requesting will be run until `is_truncated` is
`False`. As a result, the entire reply will be returned.
kwargs (Any):
Additional keyword arguments that can be passed to customize the request.
Expand Down Expand Up @@ -410,6 +413,9 @@ async def ado(
The maximum time (in seconds) to wait for a response from the model.
backoff_factor (float):
A factor to increase the waiting time between retry attempts.
auto_concat_truncate (bool):
If set to True, continuously requesting will be run until `is_truncated` is
`False`. As a result, the entire reply will be returned.
kwargs (Any):
Additional keyword arguments that can be passed to customize the request.
Expand Down

0 comments on commit 17ce3a5

Please sign in to comment.