Skip to content

Commit

Permalink
🐛 Fix openai.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AirportR committed Feb 20, 2024
1 parent a582c0a commit bfedde1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/builtin/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
try:
from utils import retry
except ImportError:
def retry(count=5):
def retry():
def wrapper(func):
async def inner(*args, **kwargs):
await func(*args, count=count, **kwargs)
await func(*args, **kwargs)

return inner

Expand Down

0 comments on commit bfedde1

Please sign in to comment.