mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(docs) add num_retries to docstring
This commit is contained in:
parent
70885bdba6
commit
01d90691f9
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ def completion(
|
|||
mock_response (str, optional): If provided, return a mock completion response for testing or debugging purposes (default is None).
|
||||
force_timeout (int, optional): The maximum execution time in seconds for the completion request (default is 600).
|
||||
custom_llm_provider (str, optional): Used for Non-OpenAI LLMs, Example usage for bedrock, set model="amazon.titan-tg1-large" and custom_llm_provider="bedrock"
|
||||
num_retries (int, optional): The number of retries to attempt (default is 0).
|
||||
Returns:
|
||||
ModelResponse: A response object containing the generated completion and associated metadata.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue