open-webui v0.6.16 版本更新介绍
发布日期: 2025-07-14
版本号: v0.6.16
Open WebUI 0.6.16版本于2025年7月14日发布,带来了大量新功能、改进和修复。新功能方面,引入了文件夹作为项目(支持为文件夹设置系统提示和关联知识库)、从文件夹直接创建聊天、提示变量自动输入框及类型定义、基础模型列表缓存、笔记作为知识库引用、笔记内直接与AI对话、实时协作笔记与权限控制、笔记任务列表支持、AI生成笔记标题、笔记全量撤销/重做、富文本提示插入、临时聊天的前端文件处理、OpenDocument格式支持、增强的Markdown文档分割、知识库全上下文模式、OAuth超时配置、无障碍与高对比主题优化、可调整的系统提示字段、细粒度更新检查控制、Qdrant与Redis前缀配置、数据库连接池性能优化,以及全面的后端重构和多语言翻译扩展。修复方面,解决了富文本编辑稳定性、iPhone图片上传、音频类型注册、输入命令显示、工具结果渲染、Markdown表格对齐、笔记访问控制安全、Ollama API兼容性、文件类型检测、OAuth登录与登出可靠性、横幅换行渲染、模型描述渲染、离线模式更新检查以及工具结果编码等多个问题。该版本还致谢了众多贡献者,并感谢了包括n8n、Tailscale在内的赞助商的支持。
更新内容 (中文)
[0.6.16] - 2025年7月14日
新增功能
- 🗂️ 文件夹即项目:通过基于文件夹的项目来组织您的工作流程——设置文件夹级别的系统提示并关联自定义知识库,为处理多个项目或客户的团队和用户带来无缝、上下文丰富的管理体验。
- 📁 基于文件夹即时创建对话:直接从任何文件夹发起新对话;只需点击一下,新对话便会自动嵌入正确的项目上下文中——无需手动拖拽或设置,节省时间并消除错误。
- 🧩 带自动输入模态框的提示变量:包含变量的提示现在会显示一个简洁的、自动生成的输入模态框,该模态框会自动聚焦于第一个字段,以便即时输入值——只需选择提示并准确填写所需内容,减少操作摩擦和猜测。
- 🔡 提示中的变量输入类型定义:为提示变量定义输入类型(例如,文本、文本区域、数字、选择、颜色、日期、地图等),为高级自动化或工作流提供更清晰、更精确的提示构建体验。
- 🚀 基础模型列表缓存:缓存您的基础模型列表,以加速模型选择并减少重复的API调用;在管理员设置 > 连接中切换此功能,即使在大型或多提供商设置中也能实现响应迅速的模型管理。
- ⏱️ 可配置的模型列表缓存TTL:通过新的
MODEL_LIST_CACHE_TTL环境变量控制模型列表缓存。设置以秒为单位的自定义缓存时间,以平衡性能和新鲜度,在稳定环境中减少API请求,或确保在模型频繁更改时快速更新。 - 🔖 将参考笔记作为知识库或在对话中引用:将任何笔记用作模型或文件夹的知识库,或直接在对话中引用它——将动态文档集成到您的检索增强生成工作流或讨论中,连接知识与行动。
- 📝 直接与笔记对话(实验性):就任何笔记提问,并直接在对话中编辑或更新笔记——解锁由AI驱动的头脑风暴、总结和清理功能,就像拥有一个协作式AI画布。
- 🤝 支持多人编辑的协作笔记:与他人共享笔记并实时协作——多个用户可以同时实时编辑笔记,促进协作式知识构建和工作流文档记录。
- 🛡️ 协作笔记权限控制:通过强大的共享权限控制谁可以查看或编辑每条笔记,确保根据您的组织需求保护隐私或支持协作。
- 🔗 复制笔记链接:快速复制和分享笔记的直接链接,便于团队或外部协作者之间的知识传递。
- 📋 笔记中的任务列表支持:在笔记中添加、组织和管理检查清单或任务——规划项目、跟踪待办事项,并将所有操作性内容集中在单一空间。
- 🧠 AI生成笔记标题:使用AI即时生成相关且简洁的笔记标题——无需繁琐的手动编辑即可保持知识库井然有序。
- 🔄 笔记中完全撤销/重做支持:轻松撤销或重做笔记的最新更改——在协作或写作时无需担心错误或意外编辑。
- 📝 增强的笔记字/字符计数器:通过内置计数器始终了解笔记的大小,便于遵守共享或发布内容的长度指南。
- 🖊️ 笔记编辑器中的浮动和气泡格式菜单:通过浮动菜单和直观的气泡菜单直接在笔记编辑器中访问文本格式化工具——使富文本编辑比以往更快、更易发现、更简便。
- ✍️ 富文本提示插入:新的设置允许提示以完全格式化的富文本形式直接插入聊天框,保留如标题、列表和粗体文本等Markdown元素,提供更直观、视觉一致的编辑体验。
- 🌐 可配置的数据库URL:WebUI现在通过新的环境变量支持更灵活的数据库配置——使在不同基础设施设置中的部署和扩展更加简单。
- 🎛️ 临时对话中完全由前端处理文件上传:使用临时对话时,文件提取现在完全在您的浏览器中进行,不会将任何文件发送到后端,进一步增强了隐私保护并提供即时反馈。
- 🔄 增强的横幅和聊天命令可见性:聊天中的横幅处理和命令反馈现在更加清晰且上下文相关,使所有用户更易发现和交互提醒、建议和自动化操作。
- 📱 移动端体验优化:移动端的“新聊天”按钮已恢复,核心导航和输入控件也已优化,提升了手机和平板上的易用性。
- 📄 OpenDocument文本(.odt)支持:无缝上传和处理来自LibreOffice、OpenOffice等开源办公套件的.odt文件,扩展了您从更广泛文档格式构建知识库的能力。
- 📑 增强的Markdown文档分割:通过新的标题感知分割策略改进从Markdown文件中的知识检索。该方法根据标题结构智能分割文档,保留原始上下文和层次结构,以获得更准确、更相关的检索增强生成结果。
- 📚 知识库的完整上下文模式:将知识库添加到文件夹或自定义模型时,现在可以为整个知识库切换完整上下文模式。这绕过了常规的分割和检索过程,非常适合较精简的知识库。
- 🕰️ 可配置的OAuth超时:为所有OAuth提供商(Google、Microsoft、GitHub、OIDC)设置自定义超时(
OAUTH_TIMEOUT),增强登录可靠性,防止在缓慢或受限网络上出现认证失败。 - 🎨 无障碍与高对比度主题增强:进行了重大无障碍改造,并对高对比度主题进行了重要更新。改进的焦点可见性、ARIA标签和语义HTML确保聊天界面和模型选择器等核心组件完全符合标准且对视觉障碍用户清晰可读。
- ↕️ 可调整大小的系统提示字段:方便地调整系统提示输入框的大小,以舒适地查看和编辑冗长或复杂的指令,提升高级模型配置的用户体验。
- 🔧 精细化的更新检查控制:通过新的
ENABLE_VERSION_UPDATE_CHECK标志,对出站连接进行更精细的控制。这允许管理员独立于完整的OFFLINE_MODE禁用版本更新检查,非常适合仍需下载嵌入模型但互联网访问受限的环境。 - 🗃️ 可配置的Qdrant集合前缀:通过设置自定义的
QDRANT_COLLECTION_PREFIX增强可扩展性。这允许多个Open WebUI实例安全地共享单个Qdrant集群,确保独立部署之间完全的数据隔离而不会冲突。 - ⚖️ 改进的默认数据库性能:通过设置更智能的数据库连接池默认值,增强了开箱即用的性能,无需手动配置即可减少非SQLite数据库用户的API响应时间。
- 🔧 可配置的Redis键前缀:添加了对
REDIS_KEY_PREFIX环境变量的支持,允许多个Open WebUI实例使用隔离的键命名空间共享一个Redis集群,以改善多租户支持。 - ➡️ 向重排器转发用户上下文:对于高级检索增强生成集成,用户信息(ID、姓名、电子邮件、角色)现在可以作为HTTP头转发给外部重排服务,实现个性化结果或基于用户的访问控制。
- ⚖️ PGVector连接池:通过启用和配置数据库连接池,增强基于PGVector的检索增强生成的性能和稳定性。新的环境变量允许对连接池大小、超时和溢出设置进行微调,以高效处理高并发工作负载。
- ⚙️ 通用后端重构:广泛的重构带来了更快、更可靠、更强大的后端体验——提升了聊天速度、模型管理和日常可靠性。
- 🌍 扩展与改进的翻译:得益于对中文(简体和繁体)、德语、法语、加泰罗尼亚语、爱尔兰语和西班牙语翻译的全面更新和增强,整个界面提供更易访问和直观的体验。
修复问题
- 🛠️ 富文本输入稳定性与性能:多项改进确保更快、更干净的文本编辑和渲染,减少了故障——特别支持笔记和对话中的链接、颜色选择、复选框控件和代码块。
- 📷 iPhone图像无缝上传:轻松上传iPhone和其他使用HEIC格式设备拍摄的照片——图像现在能被正确识别和处理,消除了兼容性问题。
- 🔄 音频MIME类型注册:已解决音频文件内容类型的问题,确保转录或笔记附件的上传和播放更顺畅、无错误。
- 🖍️ 输入命令现在始终可见:输入命令(如提示或知识库)在小屏幕上会动态调整其高度,确保内容不被裁剪,每个工具都易于访问。
- 🛑 工具结果渲染:修复了工具结果显示问题,使用外部或内部工具时提供快速、清晰的反馈。
- 🗂️ Markdown中的表格对齐:Markdown表格现在按预期渲染和对齐,保持报告和文档的可读性。
- 🖼️ 线程中的图像处理:修复了线程中仅包含图像的消息无法正确显示的问题。
- 🗝️ 笔记访问控制安全:加强了笔记的访问控制逻辑,确保共享或协作笔记尊重所有用户权限和隐私保护措施。
- 🧾 Ollama API兼容性:修复了API中的模型参数命名,确保与所有Ollama端点的不间断兼容性。
- 🛠️ 检测 ’text/html’ 文件:通过docling/tika加载的文件现在能可靠地被检测为正确类型,改善了知识摄入和文档解析。
- 🔐 OAuth登录稳定性:修复了一个关键的OAuth错误,该错误导致退出登录后再次尝试登录失败。用户会话现在在退出时会完全清除,确保所有支持的提供商(Google、Microsoft、GitHub、OIDC)的认证可靠且安全。
- 🚪 OAuth退出和重定向可靠性:OAuth退出流程已变得更加健壮。退出请求现在会正确使用代理环境变量,确保其在企业网络中成功执行。此外,自定义的
WEBUI_AUTH_SIGNOUT_REDIRECT_URL现在会正确应用于所有OAuth/OIDC配置,确保无缝的登出体验。 - 📜 横幅换行符渲染:横幅现在能正确渲染换行符,确保多行公告和消息按预期格式显示。
- ℹ️ 一致的模型描述渲染:模型描述现在能在主聊天界面中正确渲染Markdown,与模型选择下拉列表中的格式保持一致,提供一致的用户体验。
- 🔄 离线模式更新检查显示:修正了一个UI错误,当应用程序设置为离线模式时,“正在检查更新…”消息会无限期显示。
- 🛠️ 工具结果编码:修复了一个错误,该错误导致返回非ASCII字符的工具调用失败,确保稳健处理工具输出中的国际文本和特殊字符。
[!TIP]
寻找 企业计划? – 立即联系我们的销售团队!获取增强功能,包括自定义主题和品牌、服务级别协议(SLA)支持、长期支持(LTS)版本等!
👏 非常感谢我们杰出的贡献者们,感谢他们的辛勤工作和奉献,使此版本得以实现: @athoik, @aleixdorca, @tarmst, @qingchunnh, @gmacario, @aindriu80, @amberyufangchiu, @rgaricano, @zomnium, @ryanmrodriguez, @Anush008, @sihyeonn, @moblangeois, @kopero2000, @python4004, @guenhter, @Classic298, @silentoplayz, @Classic298, @expruc, @EntropyYue
赞助商 🙌
🚀 我们谨向我们出色的赞助商们致以衷心的感谢,感谢他们的慷慨支持(注意:此列表已排除私人赞助商。如果您希望在此展示,请随时联系我们!)
翡翠级
@amd, @agency-agency, @roosi-gmbh, @feddersen-group, @SRKConsulting, @mushmax, @rndmcnlly, @icanbwell, @Krambu-Travis, @loitragg, @euron-tech, @GenieDev101, @CubicleGangster, @GitDatamind, @TOWaB, @TheZigGroup, @Classic298, @comet-ml, @catalyst-net-nz, @FominVO, @JrdnHans, @hkosm
更新内容 (原始)
[0.6.16] - 2025-07-14
Added
- 🗂️ Folders as Projects: Organize your workflow with folder-based projects—set folder-level system prompts and associate custom knowledge, bringing seamless, context-rich management to teams and users handling multiple initiatives or clients.
- 📁 Instant Folder-Based Chat Creation: Start a new chat directly from any folder; just click and your new conversation is automatically embedded in the right project context—no more manual dragging or setup, saving time and eliminating mistakes.
- 🧩 Prompt Variables with Automatic Input Modal: Prompts containing variables now display a clean, auto-generated input modal that autofocuses on the first field for instant value entry—just select the prompt and fill in exactly what’s needed, reducing friction and guesswork.
- 🔡 Variable Input Typing in Prompts: Define input types for prompt variables (e.g., text, textarea, number, select, color, date, map and more), giving everyone a clearer and more precise prompt-building experience for advanced automation or workflows.
- 🚀 Base Model List Caching: Cache your base model list to speed up model selection and reduce repeated API calls; toggle this in Admin Settings > Connections for responsive model management even in large or multi-provider setups.
- ⏱️ Configurable Model List Cache TTL: Take control over model list caching with the new MODEL_LIST_CACHE_TTL environment variable. Set a custom cache duration in seconds to balance performance and freshness, reducing API requests in stable environments or ensuring rapid updates when models change frequently.
- 🔖 Reference Notes as Knowledge or in Chats: Use any note as knowledge for a model or folder, or reference it directly from chat—integrate living documentation into your Retrieval Augmented Generation workflows or discussions, bridging knowledge and action.
- 📝 Chat Directly with Notes (Experimental): Ask questions about any note, and directly edit or update notes from within a chat—unlock direct AI-powered brainstorming, summarization, and cleanup, like having your own collaborative AI canvas.
- 🤝 Collaborative Notes with Multi-User Editing: Share notes with others and collaborate live—multiple users can edit a note in real-time, boosting cooperative knowledge building and workflow documentation.
- 🛡️ Collaborative Note Permissions: Control who can view or edit each note with robust sharing permissions, ensuring privacy or collaboration per your organizational needs.
- 🔗 Copy Link to Notes: Quickly copy and share direct links to notes for easier knowledge transfer within your team or external collaborators.
- 📋 Task List Support in Notes: Add, organize, and manage checklists or tasks inside your notes—plan projects, track to-dos, and keep everything actionable in a single space.
- 🧠 AI-Generated Note Titles: Instantly generate relevant and concise titles for your notes using AI—keep your knowledge library organized without tedious manual editing.
- 🔄 Full Undo/Redo Support in Notes: Effortlessly undo or redo your latest note changes—never fear mistakes or accidental edits while collaborating or writing.
- 📝 Enhanced Note Word/Character Counter: Always know the size of your notes with built-in counters, making it easier to adhere to length guidelines for shared or published content.
- 🖊️ Floating & Bubble Formatting Menus in Note Editor: Access text formatting tools through both a floating menu and an intuitive bubble menu directly in the note editor—making rich text editing faster, more discoverable, and easier than ever.
- ✍️ Rich Text Prompt Insertion: A new setting allows prompts to be inserted directly into the chat box as fully-formatted rich text, preserving Markdown elements like headings, lists, and bold text for a more intuitive and visually consistent editing experience.
- 🌐 Configurable Database URL: WebUI now supports more flexible database configuration via new environment variables—making deployment and scaling simpler across various infrastructure setups.
- 🎛️ Completely Frontend-Handled File Upload in Temporary Chats: When using temporary chats, file extraction now occurs fully in your browser with zero files sent to the backend, further strengthening privacy and giving you instant feedback.
- 🔄 Enhanced Banner and Chat Command Visibility: Banner handling and command feedback in chat are now clearer and more contextually visible, making alerts, suggestions, and automation easier to spot and interact with for all users.
- 📱 Mobile Experience Polished: The “new chat” button is back in mobile, plus core navigation and input controls have been smoothed out for better usability on phones and tablets.
- 📄 OpenDocument Text (.odt) Support: Seamlessly upload and process .odt files from open-source office suites like LibreOffice and OpenOffice, expanding your ability to build knowledge from a wider range of document formats.
- 📑 Enhanced Markdown Document Splitting: Improve knowledge retrieval from Markdown files with a new header-aware splitting strategy. This method intelligently chunks documents based on their header structure, preserving the original context and hierarchy for more accurate and relevant RAG results.
- 📚 Full Context Mode for Knowledge Bases: When adding a knowledge base to a folder or custom model, you can now toggle full context mode for the entire knowledge base. This bypasses the usual chunking and retrieval process, making it perfect for leaner knowledge bases.
- 🕰️ Configurable OAuth Timeout: Enhance login reliability by setting a custom timeout (OAUTH_TIMEOUT) for all OAuth providers (Google, Microsoft, GitHub, OIDC), preventing authentication failures on slow or restricted networks.
- 🎨 Accessibility & High-Contrast Theme Enhancements: Major accessibility overhaul with significant updates to the high-contrast theme. Improved focus visibility, ARIA labels, and semantic HTML ensure core components like the chat interface and model selector are fully compliant and readable for visually impaired users.
- ↕️ Resizable System Prompt Fields: Conveniently resize system prompt input fields to comfortably view and edit lengthy or complex instructions, improving the user experience for advanced model configuration.
- 🔧 Granular Update Check Control: Gain finer control over outbound connections with the new ENABLE_VERSION_UPDATE_CHECK flag. This allows administrators to disable version update checks independently of the full OFFLINE_MODE, perfect for environments with restricted internet access that still need to download embedding models.
- 🗃️ Configurable Qdrant Collection Prefix: Enhance scalability by setting a custom QDRANT_COLLECTION_PREFIX. This allows multiple Open WebUI instances to share a single Qdrant cluster safely, ensuring complete data isolation between separate deployments without conflicts.
- ⚙️ Improved Default Database Performance: Enhanced out-of-the-box performance by setting smarter database connection pooling defaults, reducing API response times for users on non-SQLite databases without requiring manual configuration.
- 🔧 Configurable Redis Key Prefix: Added support for the REDIS_KEY_PREFIX environment variable, allowing multiple Open WebUI instances to share a Redis cluster with isolated key namespaces for improved multi-tenancy.
- ➡️ Forward User Context to Reranker: For advanced RAG integrations, user information (ID, name, email, role) can now be forwarded as HTTP headers to external reranking services, enabling personalized results or per-user access control.
- ⚙️ PGVector Connection Pooling: Enhance performance and stability for PGVector-based RAG by enabling and configuring the database connection pool. New environment variables allow fine-tuning of pool size, timeout, and overflow settings to handle high-concurrency workloads efficiently.
- ⚙️ General Backend Refactoring: Extensive refactoring delivers a faster, more reliable, and robust backend experience—improving chat speed, model management, and day-to-day reliability.
- 🌍 Expanded & Improved Translations: Enjoy a more accessible and intuitive experience thanks to comprehensive updates and enhancements for Chinese (Simplified and Traditional), German, French, Catalan, Irish, and Spanish translations throughout the interface.
Fixed
- 🛠️ Rich Text Input Stability and Performance: Multiple improvements ensure faster, cleaner text editing and rendering with reduced glitches—especially supporting links, color picking, checkbox controls, and code blocks in notes and chats.
- 📷 Seamless iPhone Image Uploads: Effortlessly upload photos from iPhones and other devices using HEIC format—images are now correctly recognized and processed, eliminating compatibility issues.
- 🔄 Audio MIME Type Registration: Issues with audio file content types have been resolved, guaranteeing smoother, error-free uploads and playback for transcription or note attachments.
- 🖍️ Input Commands Now Always Visible: Input commands (like prompts or knowledge) dynamically adjust their height on small screens, ensuring nothing is cut off and every tool remains easily accessible.
- 🛑 Tool Result Rendering: Fixed display problems with tool results, providing fast, clear feedback when using external or internal tools.
- 🗂️ Table Alignment in Markdown: Markdown tables are now rendered and aligned as expected, keeping reports and documentation readable.
- 🖼️ Thread Image Handling: Fixed an issue where messages containing only images in threads weren’t displayed correctly.
- 🗝️ Note Access Control Security: Tightened access control logic for notes to guarantee that shared or collaborative notes respect all user permissions and privacy safeguards.
- 🧾 Ollama API Compatibility: Fixed model parameter naming in the API to ensure uninterrupted compatibility for all Ollama endpoints.
- 🛠️ Detection for ’text/html’ Files: Files loaded with docling/tika are now reliably detected as the correct type, improving knowledge ingestion and document parsing.
- 🔐 OAuth Login Stability: Resolved a critical OAuth bug that caused login failures on subsequent attempts after logging out. The user session is now completely cleared on logout, ensuring reliable and secure authentication across all supported providers (Google, Microsoft, GitHub, OIDC).
- 🚪 OAuth Logout and Redirect Reliability: The OAuth logout process has been made more robust. Logout requests now correctly use proxy environment variables, ensuring they succeed in corporate networks. Additionally, the custom WEBUI_AUTH_SIGNOUT_REDIRECT_URL is now properly respected for all OAuth/OIDC configurations, ensuring a seamless sign-out experience.
- 📜 Banner Newline Rendering: Banners now correctly render newline characters, ensuring that multi-line announcements and messages are displayed with their intended formatting.
- ℹ️ Consistent Model Description Rendering: Model descriptions now render Markdown correctly in the main chat interface, matching the formatting seen in the model selection dropdown for a consistent user experience.
- 🔄 Offline Mode Update Check Display: Corrected a UI bug where the “Checking for Updates…” message would display indefinitely when the application was set to offline mode.
- 🛠️ Tool Result Encoding: Fixed a bug where tool calls returning non-ASCII characters would fail, ensuring robust handling of international text and special characters in tool outputs.
[!TIP]
Looking for an Enterprise Plan? – Speak with Our Sales Team Today!Get enhanced capabilities, including custom theming and branding, Service Level Agreement (SLA) support, Long-Term Support (LTS) versions, and more!
👏 Massive thanks to our incredible contributors for their hard work and dedication to making this release possible: @athoik, @aleixdorca, @tarmst, @qingchunnh, @gmacario, @aindriu80, @amberyufangchiu, @rgaricano, @zomnium, @ryanmrodriguez, @Anush008, @sihyeonn, @moblangeois, @kopero2000, @python4004, @guenhter, @Classic298, @silentoplayz, @Classic298, @expruc, @EntropyYue
Sponsors 🙌
🚀 We’d like to extend a heartfelt thank you to our amazing sponsors for their generous support (Note: We’ve excluded private sponsors from this list. If you’d like to get featured here, feel free to reach out to us!)
Emerald
@amd, @agency-agency, @roosi-gmbh, @feddersen-group, @SRKConsulting, @mushmax, @rndmcnlly, @icanbwell, @Krambu-Travis, @loitragg, @euron-tech, @GenieDev101, @CubicleGangster, @GitDatamind, @TOWaB, @TheZigGroup, @Classic298, @comet-ml, @catalyst-net-nz, @FominVO, @JrdnHans, @hkosm