From cc1dc6cb78cc1973a5c3974317d1a95e0fea35d4 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 10 May 2025 17:08:09 +0400 Subject: [PATCH] refac: config --- backend/open_webui/config.py | 49 +----------------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index e4f9c77a8..4ac476285 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -109,54 +109,7 @@ if os.path.exists(f"{DATA_DIR}/config.json"): DEFAULT_CONFIG = { "version": 0, - "ui": { - "default_locale": "", - "prompt_suggestions": [ - { - "title": [ - "Help me study", - "vocabulary for a college entrance exam", - ], - "content": "Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option.", - }, - { - "title": [ - "Give me ideas", - "for what to do with my kids' art", - ], - "content": "What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter.", - }, - { - "title": ["Tell me a fun fact", "about the Roman Empire"], - "content": "Tell me a random fun fact about the Roman Empire", - }, - { - "title": [ - "Show me a code snippet", - "of a website's sticky header", - ], - "content": "Show me a code snippet of a website's sticky header in CSS and JavaScript.", - }, - { - "title": [ - "Explain options trading", - "if I'm familiar with buying and selling stocks", - ], - "content": "Explain options trading in simple terms if I'm familiar with buying and selling stocks.", - }, - { - "title": ["Overcome procrastination", "give me tips"], - "content": "Could you start by asking me about instances when I procrastinate the most and then give me some suggestions to overcome it?", - }, - { - "title": [ - "Grammar check", - "rewrite it for better readability ", - ], - "content": 'Check the following sentence for grammar and clarity: "[sentence]". Rewrite it for better readability while maintaining its original meaning.', - }, - ], - }, + "ui": {}, }