forked from phoenix/litellm-mirror
(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):
|
def completion_with_retries(*args, **kwargs):
|
||||||
|
"""
|
||||||
|
Executes a litellm.completion() with 3 retries
|
||||||
|
"""
|
||||||
try:
|
try:
|
||||||
import tenacity
|
import tenacity
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue