feat: How to stop me (and other idiots) from breaking my open-webui
Check Existing Issues
- [x] I have searched the existing issues and discussions.
Problem Description
This is NOT an ISSUE! More of a suggestion put in to too many words. Didn't know where else to send this in.
I've been struggling with an issue a couple of days, and now that I figured out what the problem was, I decided to share my struggles. The problem was caused by the person behind the computer. Is should first say this: I'm an idiot. And if my brain would work like it should, I should have noticed my error a lot faster. Let me explain what problem I kept running in to.
I was a happy camper, using Open-webui like a boss, for a while. I had no problems using the knowledge base. Then I decided to fiddle around with the admin settings, and that's how I broke my open-webui, or so it seemed, but I didn't understand how. So I created a new docker instance. All was good again, and after changing some settings, but NOT for the Documents, the knowledge base stopped working again. When I say stopped working, I mean that I was unable to upload any files, or add text. This happened about 2 or 3 times more. Then I started investigating the log files inside Docker. And I noticed that whenever I uploaded a file, it wanted to send it to the audio interpreter. That's when I suddenly understood what was happening. In the admin settings under Audio, I never really read the whole line that is shown as an example under Supported Mime Types. I only glanced over it, and saw a * in the example, so I assumed each time that I had to enter a * on this line, to accept all mime types. Turns out when you do this, the files you want to add to a knowledge base are included, so you'll see an error. After removing the * and just left it blank, all was good again. Now, I already mentioned earlier that I'm an idiot. And there's not a lot the developers can do about that. But, on this planet live many, many more idiots, some of them are even world leaders, so I can easily see that other idiots will do the same.
Desired Solution you'd like
For this reason I hope that you will be open for a tiny suggestion that won't take up any time. Change the line that is shown in the Supported Mime Types field when it is left blank, preferably by removing the *, or any other way, so idiots like me, who are impatiently only glancing over the options and make wrong assumptions won't create this problem for themselves. Just my two cents. Great job btw on open-webui to the devs. Keep it up. I love open-webui!
Alternatives Considered
No response
Additional Context
No response
Just to clarify, the issue is that the audio documentation is not good enough? Or what specifically would you like to see improvements on?