mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 15:27:37 -05:00
[PR #20257] [MERGED] fix: prevent crash when invalid OpenAPI spec is loaded for tool servers #25522
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/20257
Author: @Classic298
Created: 12/30/2025
Status: ✅ Merged
Merged: 12/30/2025
Merged by: @tjbck
Base:
dev← Head:mcp📝 Commits (2)
c1d1be5enh1fc1727fix📊 Changes
2 files changed (+20 additions, -8 deletions)
View changed files
📝
src/lib/apis/index.ts(+8 -1)📝
src/lib/utils/index.ts(+12 -7)📄 Description
Description:
Adds defensive checks to prevent the frontend from crashing when an invalid or non-OpenAPI spec is configured for External Tool connections.
Changes:
This fixes the infinite loading screen that occurred when users accidentally configured an MCP server using the OpenAPI connection type.
Fixes [PR #198] [MERGED] fix: build error temp fix (#20207)
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.