mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(docs) docstring for completion_with_retries
This commit is contained in:
parent
47ac4fa58f
commit
f52b36a338
1 changed files with 3 additions and 0 deletions
|
@ -1289,6 +1289,9 @@ def completion(
|
|||
|
||||
|
||||
def completion_with_retries(*args, **kwargs):
|
||||
"""
|
||||
Executes a litellm.completion() with 3 retries
|
||||
"""
|
||||
try:
|
||||
import tenacity
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue