-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Resolver] Pass retry logic environment variables in GitHub Action #5087
Comments
This might be related to #5030 |
I have added some funds to my Anthropic account to get into the Tier 2. Now it runs much better :). Maybe there should be a hint in the docs where also the rate limit configuration is described that the Anthropic Tier 1 is really not sufficient to run OpenHands. I did not even know that the rate limit is tied to tiers. |
That's interesting. I did not know about that personally. @enyst is that true? That Tier1 is not sufficient? |
Yes, I think Fabian is correct. I do remember that Anthropic rate limits started by being atrocious, and practically unusable. I had to turn our config settings significantly up, and so did other people in issues around here. (We also changed our defaults multiple times, but I don't think we changed them so much) Anthropic has the tiers in this table. 50 requests per minute - I don't know if those changed in time but anyway for the resolver or other headless run... it still sounds really low. And the worse might be the tokens per minute one. We don't handle that, so the workaround is to estimate it by turning upper the other settings. The documentation issue is IMHO different than the fact that it would be nice if the resolver allows it. |
The jump in requests per minute from 50 in tier one to 1000 in tier 2 is quite big. Tier 3 and 4 "only" double it to 2000 and 4000. So with tier 1 I got a lot of rate limit errors. With tier 2 OpenHands runs quite well and only sometimes runs into rate limits. The resolution to my original issue is really to get into tier 2. Therefore I think that should get mentioned in the getting started documentation. Being able to pass the rate limit configuration is probably nice to have, but not a good solution to the issue I had. If I would have been able to do that, then probably OpenHands would have been super slow. |
Thanks for sharing your experience! I completely agree that the jump from tier 1 to tier 2 can be significant in terms of UX. However, there are a few factors worth considering here:
|
That is true. Though to get to tier 2 you only have to add 40$. |
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for over 30 days with no activity. |
What problem or use case are you trying to solve?
When using the OpenHands Resolver with Claude I run into rate limit errors most of the time.
Describe the UX of the solution you'd like
I would like to be able to pass the rate limit configuration to the GitHub Action
Do you have thoughts on the technical implementation?
I would like to add
to my workflow like in the example below:
Ideally the other configuration values are also supported
I think in the
All-Hands-AI/OpenHands/.github/workflows/openhands-resolver.yml
they must then be added as inputs and passed on with the other env variables.OpenHands/.github/workflows/openhands-resolver.yml
Lines 3 to 24 in 104f52b
OpenHands/.github/workflows/openhands-resolver.yml
Lines 150 to 164 in 104f52b
The text was updated successfully, but these errors were encountered: