-
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
[Bug]: Too many agent responses lead to a laggy UI #5791
Comments
Could you explain what kind of laggy UI you are experiencing? Does it take a long time to load when switching between tabs? Is it problematic when scrolling? |
Suppose I want to click on something, when I hover on the element it might take a few seconds for the cursor to turn into a pointer, and when I click it it will take a few seconds to register the click and then update the DOM |
This is happening to me as well. I might be wrong but it seems like even if I clear out the long conversation and start a new one. Reload the page in a new browser window. It seems to start lagging on the second conversation a lot quicker than the first conversation. |
Weird. I'll see if someone can take a look. |
Can confirm |
I'm not sure if the posters before me are using Claude 3.5, but for me after a little bit of time it takes more than a minute per response because of
It seems like Clause just keeps adding to the message all of the content it has already processed, and get to the point that just a simple prompt takes many, many minutes per step. After looking at the other bugs, this might be a dupe of #5715 |
@Jakan-Kink Yep, OH easily runs into this issue |
@Jakan-Kink you need to get to a higher tier through anthropic and the only way is to spend more. I think I had to buy $500 in tokens to get up to tier 4 and now I get 400,000 tokens/minute. I still hit that limit every 30 seconds or so and then it bogs down until the next minute. A nice feature to add to Open Hands would be a setting for how many input tokens you can use in a minute so instead of sending messages that won't work, Open Hands would throttle the conversation at that limit. Until Anthropic raises the limit to about 1,000,000 tokens per minute I don't think it will be able to catch up to Open Hands. I guess what I'm saying is this isn't a bug in Open Hands. The other post you linked to I shared a strategy that I think would also help us not reach that limit as quickly. The issue that's occurring in this bug report is about the length of the conversation causing too much memory to be used by the browser to where eventually the page is unresponsive. |
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
Every time I have a deep-ish conversation with the agent, the web page can barely respond
I suggest to modify the "chat" experience to lazy load the messages
OpenHands Installation
Docker command in README
OpenHands Version
main
Operating System
Windows
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: