diff --git a/CHANGELOG_EXTRA.md b/CHANGELOG_EXTRA.md index cc3bd517c..b90fa771f 100644 --- a/CHANGELOG_EXTRA.md +++ b/CHANGELOG_EXTRA.md @@ -5,6 +5,12 @@ 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.8.10.2] - 2026.03.18 + +### Added + +- 增加对 gpt-5.4-mini 的适配 + ## [0.8.10.1] - 2026.03.09 ### Changed diff --git a/backend/open_webui/routers/openai.py b/backend/open_webui/routers/openai.py index ee14ba968..f2500aa43 100644 --- a/backend/open_webui/routers/openai.py +++ b/backend/open_webui/routers/openai.py @@ -801,7 +801,10 @@ def is_openai_reasoning_model(model: str) -> bool: real_model_name = (model.lower().split("/", 1)[-1]).split(".", 1)[-1] # check for reasoning models - return real_model_name.startswith(("o1", "o3", "o4", "gpt-5")) + reasoning_models_prefixes = ("o1", "o3", "o4", "gpt-5") + return real_model_name.startswith(reasoning_models_prefixes) or model.startswith( + reasoning_models_prefixes + ) def convert_to_azure_payload(url, payload: dict, api_version: str): diff --git a/package-lock.json b/package-lock.json index 877562712..6e87cfee0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.8.10.1", + "version": "0.8.10.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.8.10.1", + "version": "0.8.10.2", "dependencies": { "@azure/msal-browser": "^4.5.0", "@codemirror/lang-javascript": "^6.2.2", diff --git a/package.json b/package.json index e27ebd163..1faacdacd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.8.10.1", + "version": "0.8.10.2", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host",