-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Browser freezes ocasionally when generating bigger code #3334
Comments
1, we see similar issues, exactly as you described. |
Just pushed an optimisation refac for code block in latest dev, I'd greatly appreciate if you could test it out and see if that did anything for you! 🙌 |
@tjbck works much better now, no hanging at all for me - thank you for the quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Description
Bug Summary:
When generating code with GPT-4o, it looks like it generates so fast that it sometimes can't keep up with the syntax highlighting, locks up and freezes the browser for half a minute. This does only happen ocasionally, but is very annoying when it does.
See additional information.
Steps to Reproduce:
Expected Behavior:
Actual Behavior:
Environment
Open WebUI Version: 0.3.5
Ollama (if applicable): -
Operating System: Debian
Browser (if applicable): Edge 125.0 x64
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
-
Docker Container Logs:
-
Screenshots (if applicable):
-
Installation Method
Managed under a docker container, installed like recommended instructions.
Additional Information
It looks like it only happens while code highlighting. You can actually see it getting progressively slower and outputting 3-4 lines at once, and eventually the browser can't keep up and freezes for some seconds. Sometimes it even gets to the "Wait for the page?" dialog, where you can wait and it eventually recovers.
However, there are times when it's getting slower and slower, and then the code ends, and it IMMEDIATELY springs back to normal speed, what leads me to believe it has do to with code highlighting.
Maybe triggering the code highlighting too often/too fast?
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
The text was updated successfully, but these errors were encountered: