diff --git a/CHANGELOG_EXTRA.md b/CHANGELOG_EXTRA.md index 7be7c40fe8..f12ceb47d7 100644 --- a/CHANGELOG_EXTRA.md +++ b/CHANGELOG_EXTRA.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.40.2] - 2025.11.27 + +### Changed + +- 补充部分官方 Logo 和静态文件 + +### Fixed + +- 增强对非标准流式响应的兼容性 (如 Deepseek API) + ## [0.6.40.1] - 2025.11.26 ### Changed diff --git a/backend/open_webui/static/apple-touch-icon.png b/backend/open_webui/static/apple-touch-icon.png index ee2cfb7c31..9807373436 100644 Binary files a/backend/open_webui/static/apple-touch-icon.png and b/backend/open_webui/static/apple-touch-icon.png differ diff --git a/backend/open_webui/static/custom.css b/backend/open_webui/static/custom.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/backend/open_webui/static/favicon-96x96.png b/backend/open_webui/static/favicon-96x96.png index ee2cfb7c31..2ebdffebe5 100644 Binary files a/backend/open_webui/static/favicon-96x96.png and b/backend/open_webui/static/favicon-96x96.png differ diff --git a/backend/open_webui/static/favicon-dark.png b/backend/open_webui/static/favicon-dark.png new file mode 100644 index 0000000000..08627a23f7 Binary files /dev/null and b/backend/open_webui/static/favicon-dark.png differ diff --git a/backend/open_webui/static/favicon.ico b/backend/open_webui/static/favicon.ico index 66274bd47a..14c5f9c6d4 100644 Binary files a/backend/open_webui/static/favicon.ico and b/backend/open_webui/static/favicon.ico differ diff --git a/backend/open_webui/static/favicon.png b/backend/open_webui/static/favicon.png index ee2cfb7c31..63735ad461 100644 Binary files a/backend/open_webui/static/favicon.png and b/backend/open_webui/static/favicon.png differ diff --git a/backend/open_webui/static/favicon.svg b/backend/open_webui/static/favicon.svg index a923ac3111..0aa909745a 100644 --- a/backend/open_webui/static/favicon.svg +++ b/backend/open_webui/static/favicon.svg @@ -1 +1,3 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/backend/open_webui/static/loader.js b/backend/open_webui/static/loader.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/backend/open_webui/static/logo.png b/backend/open_webui/static/logo.png new file mode 100644 index 0000000000..a652a5fb87 Binary files /dev/null and b/backend/open_webui/static/logo.png differ diff --git a/backend/open_webui/static/site.webmanifest b/backend/open_webui/static/site.webmanifest new file mode 100644 index 0000000000..95915ae2bc --- /dev/null +++ b/backend/open_webui/static/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "Open WebUI", + "short_name": "WebUI", + "icons": [ + { + "src": "/static/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/static/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/backend/open_webui/static/splash-dark.png b/backend/open_webui/static/splash-dark.png new file mode 100644 index 0000000000..202c03f8e4 Binary files /dev/null and b/backend/open_webui/static/splash-dark.png differ diff --git a/backend/open_webui/static/splash.png b/backend/open_webui/static/splash.png index ee2cfb7c31..389196ca6a 100644 Binary files a/backend/open_webui/static/splash.png and b/backend/open_webui/static/splash.png differ diff --git a/backend/open_webui/static/user-import.csv b/backend/open_webui/static/user-import.csv new file mode 100644 index 0000000000..918a92aad7 --- /dev/null +++ b/backend/open_webui/static/user-import.csv @@ -0,0 +1 @@ +Name,Email,Password,Role diff --git a/backend/open_webui/static/user.png b/backend/open_webui/static/user.png new file mode 100644 index 0000000000..7bdc70d159 Binary files /dev/null and b/backend/open_webui/static/user.png differ diff --git a/backend/open_webui/static/web-app-manifest-192x192.png b/backend/open_webui/static/web-app-manifest-192x192.png index ee2cfb7c31..fbd2eab6e2 100644 Binary files a/backend/open_webui/static/web-app-manifest-192x192.png and b/backend/open_webui/static/web-app-manifest-192x192.png differ diff --git a/backend/open_webui/static/web-app-manifest-512x512.png b/backend/open_webui/static/web-app-manifest-512x512.png index ee2cfb7c31..afebe2cd08 100644 Binary files a/backend/open_webui/static/web-app-manifest-512x512.png and b/backend/open_webui/static/web-app-manifest-512x512.png differ diff --git a/backend/open_webui/utils/misc.py b/backend/open_webui/utils/misc.py index dbb3acad6d..20f8b30fc9 100644 --- a/backend/open_webui/utils/misc.py +++ b/backend/open_webui/utils/misc.py @@ -610,7 +610,8 @@ async def consumer_content(stream: aiohttp.StreamReader): body=form_data, is_stream=True, ) as credit_deduct: - async for chunk, _ in stream.iter_chunks(): + # change to avoid multi \n\n cause message lose + async for chunk in stream: credit_deduct.run(response=chunk) yield chunk @@ -628,8 +629,8 @@ async def yield_safe_stream_chunks(): body=form_data, is_stream=True, ) as credit_deduct: - - async for data, _ in stream.iter_chunks(): + # change to avoid multi \n\n cause message lose + async for data in stream: if not data: continue diff --git a/package-lock.json b/package-lock.json index e67a1b1072..f602dc306a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.6.40.1", + "version": "0.6.40.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.6.40.1", + "version": "0.6.40.2", "dependencies": { "@azure/msal-browser": "^4.5.0", "@codemirror/lang-javascript": "^6.2.2", diff --git a/package.json b/package.json index 413700c038..838a616bbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.6.40.1", + "version": "0.6.40.2", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host",