[Bug] Browser Freezes When Pasting Large Content into System Prompt #3518

Closed
opened 2025-11-11 15:33:12 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @chalitbkb on GitHub (Jan 31, 2025).

I'm encountering issues where my browser becomes unresponsive when I try to set a system prompt with extensive content. Sometimes, I need to define a large system prompt for specialized tasks. For example, content that exceeds 400,000 tokens triggers this problem.

The areas where issues were identified are "Admin Panel > Settings > Models > Edit > System Prompt" and "Workspace > Models > create > System Prompt."
Image

There are no issues with this section. I can paste large content without any problems, as usual.
Image

I tried the same thing on aistudio.google.com, and it worked well.
Image


Installation Method

  • Docker

Environment

  • Open WebUI Version: [e.g., v0.5.7]
  • Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]
  • Browser (if applicable): [e.g., Chrome 132.0.6834.111]

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Originally created by @chalitbkb on GitHub (Jan 31, 2025). I'm encountering issues where my browser becomes unresponsive when I try to set a system prompt with extensive content. Sometimes, I need to define a large system prompt for specialized tasks. For example, content that exceeds 400,000 tokens triggers this problem. **The areas where issues were identified are _"Admin Panel > Settings > Models > Edit > System Prompt"_ **and** _"Workspace > Models > create > System Prompt."_** ![Image](https://github.com/user-attachments/assets/21aac4a6-e7f9-4a11-80ed-141ec5aac40f) **There are no issues with this section. I can paste large content without any problems, as usual.** ![Image](https://github.com/user-attachments/assets/6d4023ec-6e13-4355-887b-f1761368a4bd) **I tried the same thing on aistudio.google.com, and it worked well.** ![Image](https://github.com/user-attachments/assets/41d92b62-c3a9-4f4a-876d-58f082e3603f) --- ## Installation Method - Docker ## Environment - **Open WebUI Version:** [e.g., v0.5.7] - **Operating System:** [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04] - **Browser (if applicable):** [e.g., Chrome 132.0.6834.111] **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3518