-
Notifications
You must be signed in to change notification settings - Fork 799
🥅 Handle Anthropic RateLimitError #45
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: main
Are you sure you want to change the base?
Conversation
Handle Anthropic RateLimitError
There has already been a built-in mechanisms to retry after failure: https://the-pocket.github.io/PocketFlow/core_abstraction/node.html Does this address the Anthropic RateLimitError? |
I don't think so for some reason. Here is the error stack :
Let me know if you think there is a more graceful way of handling this problem. My PR code fixed the issue |
By the way thank you for the awesome repo. Here is the doc I generated for our open source project. |
Got it! I think what you can do is to increase the wait and retry time. |
Your project is very cool! Would you mind sharing it on https://github.com/The-Pocket/Tutorial-Codebase-Knowledge/discussions? |
Simple change to catch and handle Anthropic RateLimitError