Skip to content

Fix openai api rate limit - #45

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

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

Conversation

@memreok

@memreok memreok commented Oct 31, 2024

Copy link
Copy Markdown
Contributor

sleep bot if we get 403

@berkingurcan berkingurcan left a comment

Copy link
Copy Markdown
Contributor

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