Skip to content

Commit d33ad46

Browse files
committed
refac
1 parent 3b61562 commit d33ad46

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
- 🔍 **Knowledge tooltip z-index fix.** Knowledge base tooltips in the model editor no longer render behind other UI elements. [#21375](https://github.com/open-webui/open-webui/pull/21375)
2020
- 📚 **Knowledge collection layout fix.** Knowledge collection names in the chat input menu no longer appear indented or truncated due to incorrect flex layout. [#21374](https://github.com/open-webui/open-webui/pull/21374)
2121
- 🎯 **Model selector scroll position fix.** The model selector dropdown now correctly scrolls to and centers the currently selected model when opened, and resets scroll position when reopened. [Commit](https://github.com/open-webui/open-webui/commit/0b05b2fc7ed4c38af158707438ff404d1beb7c91)
22+
- 🔍 **Builtin web search result count fix.** The built-in web search tool now respects the admin-configured result count instead of always using the model-provided value, ensuring consistent search behavior across all models. [#21373](https://github.com/open-webui/open-webui/pull/21373)
23+
- 🧠 **Reasoning tag detection fix.** Tag detection for reasoning, solution, and code interpreter blocks now uses the output item's own text instead of a separate accumulated content string, eliminating edge cases where tags could be missed or incorrectly split across output boundaries. [Commit](https://github.com/open-webui/open-webui/commit/3b61562c82448cf83710d8b6ed29b797991aa83a)
24+
- 💻 **Code interpreter context retention fix.** Code interpreter blocks are now always included in chat context regardless of processing mode, ensuring models are aware of previously executed code and don't unnecessarily retry code execution in follow-up turns. [Commit](https://github.com/open-webui/open-webui/commit/3b61562c82448cf83710d8b6ed29b797991aa83a)
2225
- 🌐 **Translation updates.** Portuguese (Brazil) translations were updated. [#21345](https://github.com/open-webui/open-webui/pull/21345)
2326

2427
## [0.8.0] - 2026-02-12

backend/open_webui/routers/openai.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,12 @@ async def get_models(
604604
if r.status != 200:
605605
# Extract response error details if available
606606
error_detail = f"HTTP Error: {r.status}"
607-
res = await r.json()
608-
if "error" in res:
609-
error_detail = f"External Error: {res['error']}"
607+
try:
608+
res = await r.json()
609+
if "error" in res:
610+
error_detail = f"External Error: {res['error']}"
611+
except Exception:
612+
pass
610613
raise Exception(error_detail)
611614

612615
response_data = await r.json()

0 commit comments

Comments
 (0)