mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #21817] bug: Error error after update when loading previously working function related to ddgs.utils #58244
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?
Originally created by @encryptic12 on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21817
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.5
Ollama Version (if applicable)
cloud
Operating System
Win10
Browser (if applicable)
Brave, Chrome, Edge
Confirmation
README.md.Expected Behavior
The model should have responded. All systems were functional prior to the update.
Actual Behavior
After update, the messages response from the AI model is:
cannot import name 'json_loads' from 'ddgs.utils' (/usr/local/lib/python3.11/site-packages/ddgs/utils.py)
Steps to Reproduce
This happens with any model I select, both local hosted ollama models as well as cloud hosted on ollama.com
Logs & Screenshots
2026-02-24 07:44:19.245 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.17.0.1:54168 - "POST /api/v1/chats/ed7b77b5-5310-4b4d-927f-b5c89711e473 HTTP/1.1" 200
2026-02-24 07:44:19.292 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.17.0.1:54168 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-02-24 07:44:19.384 | INFO | function_auto_memory:log:651 - inlet: function_auto_memory
2026-02-24 07:44:19.507 | ERROR | open_webui.utils.plugin:load_tool_module_by_id:252 - Error loading module: llm_web_search: cannot import name 'json_loads' from 'ddgs.utils' (/usr/local/lib/python3.11/site-packages/ddgs/utils.py)
2026-02-24 07:44:19.559 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.17.0.1:54168 - "POST /api/chat/completions HTTP/1.1" 200
2026-02-24 07:44:19.633 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.17.0.1:54168 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-02-24 07:44:52.655 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.17.0.1:59080 - "GET /_app/version.json HTTP/1.1" 200
2026-02-24 07:45:53.655 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.17.0.1:58600 - "GET /_app/version.json HTTP/1.1" 200
2026-02-24 07:46:54.687 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 172.17.0.1:52674 - "
Additional Information
No response
@pr-validator-bot commented on GitHub (Feb 24, 2026):
⚠️ Invalid Issue Title
Hey @encryptic12, please provide a descriptive title for your issue. Titles that are empty, very short (under 10 characters), or generic (like "issue:" or "feat:") make it difficult for volunteer contributors to understand and triage issues.
Please update the title to reflect the content of your issue.
⚠️ Missing Issue Title Prefix
@encryptic12, your issue title is missing a prefix (e.g.,
bug:,feat:,docs:).Please update your issue title to include one of the following prefixes:
Example:
bug: Login fails when using special characters in password@tjbck commented on GitHub (Feb 24, 2026):
If you're using a custom function, custom function should be updated.