Skip to content

Fix openai api rate limit#45

Open
memreok wants to merge 6 commits intoMinaFoundation:mainfrom
memreok:fix-openai-api-rate-limit
Open

Fix openai api rate limit#45
memreok wants to merge 6 commits intoMinaFoundation:mainfrom
memreok:fix-openai-api-rate-limit

Conversation

@memreok
Copy link
Copy Markdown
Contributor

@memreok memreok commented Oct 31, 2024

sleep bot if we get 403

Copy link
Copy Markdown
Contributor

@berkingurcan berkingurcan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to hard code the sleep and retry logic with if because using tenacity could causes conflicts in openai api. Also False return should remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants