mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-15 23:32:40 +00:00
When models reference functions (via filterIds/actionIds) that no longer exist in the database, the /api/models endpoint crashes with a 500 error, preventing the UI from loading chats entirely. This can happen after upgrades when built-in functions are removed or when user-created functions are deleted while still referenced by models. Instead of raising an exception, log at INFO level and skip the missing function so the rest of the models load successfully. Fixes #21464 https://claude.ai/code/session_015JRM7m2bNeZPBBmV2Gv4Mj Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| images | ||
| mcp | ||
| telemetry | ||
| access_control.py | ||
| actions.py | ||
| audit.py | ||
| auth.py | ||
| channels.py | ||
| chat.py | ||
| code_interpreter.py | ||
| embeddings.py | ||
| files.py | ||
| filter.py | ||
| groups.py | ||
| headers.py | ||
| logger.py | ||
| middleware.py | ||
| misc.py | ||
| models.py | ||
| oauth.py | ||
| payload.py | ||
| pdf_generator.py | ||
| plugin.py | ||
| rate_limit.py | ||
| redis.py | ||
| response.py | ||
| sanitize.py | ||
| security_headers.py | ||
| task.py | ||
| tools.py | ||
| validate.py | ||
| webhook.py | ||