diff --git a/CHANGELOG.md b/CHANGELOG.md index 722ed67172..250d70cc06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- ⚡ **API call optimization.** Reduced excessive API calls when hovering over the model selector or scrolling through chat history by adding a 30-second cooldown to model list fetches and a 200ms debounce to chat loading. [#22457](https://github.com/open-webui/open-webui/pull/22457) -- 🗄️ **MariaDB Vector support.** Added MariaDB Vector as a new vector database backend, enabling deployments with VECTOR_DB=mariadb-vector; supports cosine and euclidean distance strategies with configurable HNSW indexing. [#21931](https://github.com/open-webui/open-webui/pull/21931) -- 📝 **Task message truncation.** Chat messages sent to task models for title and tag generation can now be truncated using a filter in the prompt template, reducing token usage and processing time for long conversations. [#21499](https://github.com/open-webui/open-webui/issues/21499) - 🔐 **Custom OIDC logout endpoint.** Administrators can now configure a custom OpenID Connect logout URL via OPENID_END_SESSION_ENDPOINT, enabling logout functionality for OIDC providers that require custom endpoints like AWS Cognito. [Commit](https://github.com/open-webui/open-webui/commit/3f350f865920daf2844769a758b2d2e6a7ee3efa) +- 🗄️ **MariaDB Vector community support.** Added MariaDB Vector as a new vector database backend, enabling deployments with VECTOR_DB=mariadb-vector; supports cosine and euclidean distance strategies with configurable HNSW indexing. [#21931](https://github.com/open-webui/open-webui/pull/21931) +- 📝 **Task message truncation.** Chat messages sent to task models for title and tag generation can now be truncated using a filter in the prompt template, reducing token usage and processing time for long conversations. [#21499](https://github.com/open-webui/open-webui/issues/21499) - 🔄 **General improvements.** Various improvements were implemented across the application to enhance performance, stability, and security. - 🌐 Translations for Portuguese (Brazil), Spanish, and Malay were enhanced and expanded. diff --git a/backend/open_webui/routers/audio.py b/backend/open_webui/routers/audio.py index 41b6a07c1c..a1f3ac523f 100644 --- a/backend/open_webui/routers/audio.py +++ b/backend/open_webui/routers/audio.py @@ -859,9 +859,7 @@ def transcription_handler(request, file_path, metadata, user=None): res = r.json() # Azure returns {"code": "...", "message": "...", "innerError": {...}} if "code" in res and "message" in res: - azure_code = res.get("innerError", {}).get( - "code", res["code"] - ) + azure_code = res.get("innerError", {}).get("code", res["code"]) user_facing_codes = { "EmptyAudioFile", "AudioLengthLimitExceeded", diff --git a/backend/open_webui/utils/misc.py b/backend/open_webui/utils/misc.py index bab1bb4bbf..643648862b 100644 --- a/backend/open_webui/utils/misc.py +++ b/backend/open_webui/utils/misc.py @@ -588,7 +588,9 @@ def sanitize_metadata(metadata: dict) -> dict: if not callable(v) and _is_serializable(v) } if isinstance(obj, list): - return [_sanitize(v) for v in obj if not callable(v) and _is_serializable(v)] + return [ + _sanitize(v) for v in obj if not callable(v) and _is_serializable(v) + ] if callable(obj): return None # Last resort: try to see if it's serializable diff --git a/package-lock.json b/package-lock.json index 5a359dd054..04f3973311 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.8.9", + "version": "0.8.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.8.9", + "version": "0.8.10", "dependencies": { "@azure/msal-browser": "^4.5.0", "@codemirror/lang-javascript": "^6.2.2", diff --git a/package.json b/package.json index 49a72efa37..1eb043de5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.8.9", + "version": "0.8.10", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host",