You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.5.8] - 2025-02-05
9
+
10
+
### Added
11
+
12
+
-**🖥️ Code Interpreter**: Models can now execute code in real time to refine their answers dynamically, running securely within a sandboxed browser environment using Pyodide. Perfect for calculations, data analysis, and AI-assisted coding tasks!
13
+
-**💬 Redesigned Chat Input UI**: Enjoy a sleeker and more intuitive message input with improved feature selection, making it easier than ever to toggle tools, enable search, and interact with AI seamlessly.
14
+
-**🛠️ Native Tool Calling Support (Experimental)**: Supported models can now call tools natively, reducing query latency and improving contextual responses. More enhancements coming soon!
15
+
-**🔗 Exa Search Engine Integration**: A new search provider has been added, allowing users to retrieve up-to-date and relevant information without leaving the chat interface.
16
+
-**🌍 Localized Dates & Times**: Date and time formats now match your system locale, ensuring a more natural, region-specific experience.
17
+
-**📎 User Headers for External Embedding APIs**: API calls to external embedding services now include user-related headers.
18
+
-**🌍 "Always On" Web Search Toggle**: A new option under Settings > Interface allows users to enable Web Search by default—transform Open WebUI into your go-to search engine, ensuring AI-powered results with every query.
19
+
-**🚀 General Performance & Stability**: Significant improvements across the platform for a faster, more reliable experience.
-**🌍 Improved Translations**: Chinese, Korean, French, Ukrainian and Serbian translations have been updated with refined terminologies for better clarity.
22
+
23
+
### Fixed
24
+
25
+
-**🔄 OAuth Name Field Fallback**: Resolves OAuth login failures by using the email field as a fallback when a name is missing.
26
+
-**🔑 Google Drive Credentials Restriction**: Ensures only authenticated users can access Google Drive credentials for enhanced security.
27
+
-**🌐 DuckDuckGo Search Rate Limit Handling**: Fixes issues where users would encounter 202 errors due to rate limits when using DuckDuckGo for web search.
28
+
-**📁 File Upload Permission Indicator**: Users are now notified when they lack permission to upload files, improving clarity on system restrictions.
29
+
-**🔧 Max Tokens Issue**: Fixes cases where 'max_tokens' were not applied correctly, ensuring proper model behavior.
30
+
-**🔍 Validation for RAG Web Search URLs**: Filters out invalid or unsupported URLs when using web-based retrieval augmentation.
31
+
-**🖋️ Title Generation Bug**: Fixes inconsistencies in title generation, ensuring proper chat organization.
32
+
33
+
### Removed
34
+
35
+
-**⚡ Deprecated Non-Web Worker Pyodide Execution**: Moves entirely to browser sandboxing for better performance and security.
DEFAULT_TITLE_GENERATION_PROMPT_TEMPLATE="""Create a concise, 3-5 word title with an emoji as a title for the chat history, in the given language. Suitable Emojis for the summary can be used to enhance understanding but avoid quotation marks or special formatting. RESPOND ONLY WITH THE TITLE TEXT.
Generate a concise, 3-5 word title with an emoji summarizing the chat history.
1106
+
### Guidelines:
1107
+
- The title should clearly represent the main theme or subject of the conversation.
1108
+
- Use emojis that enhance understanding of the topic, but avoid quotation marks or special formatting.
1109
+
- Write the title in the chat's primary language; default to English if multilingual.
1110
+
- Prioritize accuracy over excessive creativity; keep it clear and simple.
1111
+
### Output:
1112
+
JSON format: { "title": "your concise title here" }
1113
+
### Examples:
1114
+
- { "title": "📉 Stock Market Trends" },
1115
+
- { "title": "🍪 Perfect Chocolate Chip Recipe" },
1116
+
- { "title": "Evolution of Music Streaming" },
1117
+
- { "title": "Remote Work Productivity Tips" },
1118
+
- { "title": "Artificial Intelligence in Healthcare" },
1119
+
- { "title": "🎮 Video Game Development Insights" }
1120
+
### Chat History:
1107
1121
<chat_history>
1108
1122
{{MESSAGES:END:2}}
1109
1123
</chat_history>"""
1110
1124
1111
-
1112
1125
TAGS_GENERATION_PROMPT_TEMPLATE=PersistentConfig(
1113
1126
"TAGS_GENERATION_PROMPT_TEMPLATE",
1114
1127
"task.tags.prompt_template",
@@ -1277,7 +1290,28 @@ class BannerModel(BaseModel):
1277
1290
)
1278
1291
1279
1292
1280
-
DEFAULT_TOOLS_FUNCTION_CALLING_PROMPT_TEMPLATE="""Available Tools: {{TOOLS}}\nReturn an empty string if no tools match the query. If a function tool matches, construct and return a JSON object in the format {\"name\": \"functionName\", \"parameters\": {\"requiredFunctionParamKey\": \"requiredFunctionParamValue\"}} using the appropriate tool and its parameters. Only return the object and limit the response to the JSON object without additional text."""
DEFAULT_EMOJI_GENERATION_PROMPT_TEMPLATE="""Your task is to reflect the speaker's likely facial expression through a fitting emoji. Interpret emotions from the message and reflect their facial expression using fitting, diverse emojis (e.g., 😊, 😢, 😡, 😱).
@@ -1290,6 +1324,24 @@ class BannerModel(BaseModel):
- You have access to a Python shell that runs directly in the user's browser, enabling fast execution of code for analysis, calculations, or problem-solving. Use it in this response.
1333
+
- The Python code you write can incorporate a wide array of libraries, handle data manipulation or visualization, perform API calls for web-related tasks, or tackle virtually any computational challenge. Use this flexibility to **think outside the box, craft elegant solutions, and harness Python's full potential**.
1334
+
- To use it, **you must enclose your code within `<code_interpreter type="code" lang="python">` XML tags** and stop right away. If you don't, the code won't execute. Do NOT use triple backticks.
1335
+
- When coding, **always aim to print meaningful outputs** (e.g., results, tables, summaries, or visuals) to better interpret and verify the findings. Avoid relying on implicit outputs; prioritize explicit and clear print statements so the results are effectively communicated to the user.
1336
+
- After obtaining the printed output, **always provide a concise analysis, interpretation, or next steps to help the user understand the findings or refine the outcome further.**
1337
+
- If the results are unclear, unexpected, or require validation, refine the code and execute it again as needed. Always aim to deliver meaningful insights from the results, iterating if necessary.
1338
+
- If a link is provided for an image, audio, or any file, include it in the response exactly as given to ensure the user has access to the original resource.
1339
+
- All responses should be communicated in the chat's primary language, ensuring seamless understanding. If the chat is multilingual, default to English for clarity.
1340
+
- **If a link to an image, audio, or any file is provided in markdown format, explicitly display it as part of the response to ensure the user can access it easily, do NOT change the link.**
1341
+
1342
+
Ensure that the tools are effectively utilized to achieve the highest-quality analysis for the user."""
1343
+
1344
+
1293
1345
####################################
1294
1346
# Vector Database
1295
1347
####################################
@@ -1319,6 +1371,7 @@ class BannerModel(BaseModel):
Copy file name to clipboardExpand all lines: backend/open_webui/constants.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ def __str__(self) -> str:
57
57
)
58
58
59
59
FILE_NOT_SENT="FILE_NOT_SENT"
60
-
FILE_NOT_SUPPORTED="Oops! It seems like the file format you're trying to upload is not supported. Please upload a file with a supported format (e.g., JPG, PNG, PDF, TXT) and try again."
60
+
FILE_NOT_SUPPORTED="Oops! It seems like the file format you're trying to upload is not supported. Please upload a file with a supported format and try again."
61
61
62
62
NOT_FOUND="We could not find what you're looking for :/"
63
63
USER_NOT_FOUND="We could not find what you're looking for :/"
0 commit comments