[GH-ISSUE #21817] bug: Error error after update when loading previously working function related to ddgs.utils #58244

Closed
opened 2026-05-05 22:38:39 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @encryptic12 on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21817

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.8.5

Ollama Version (if applicable)

cloud

Operating System

Win10

Browser (if applicable)

Brave, Chrome, Edge

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

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

Originally created by @encryptic12 on GitHub (Feb 24, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/21817 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.8.5 ### Ollama Version (if applicable) cloud ### Operating System Win10 ### Browser (if applicable) Brave, Chrome, Edge ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### 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_
GiteaMirror added the bug label 2026-05-05 22:38:39 -05:00
Author
Owner

@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:

  • bug: Bug report or error you've encountered
  • feat: Feature request or enhancement suggestion
  • docs: Documentation issue or improvement request
  • question: Question about usage or functionality
  • help: Request for help or support

Example: bug: Login fails when using special characters in password

<!-- gh-comment-id:3949850243 --> @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: - **bug**: Bug report or error you've encountered - **feat**: Feature request or enhancement suggestion - **docs**: Documentation issue or improvement request - **question**: Question about usage or functionality - **help**: Request for help or support Example: `bug: Login fails when using special characters in password`
Author
Owner

@tjbck commented on GitHub (Feb 24, 2026):

If you're using a custom function, custom function should be updated.

<!-- gh-comment-id:3954654206 --> @tjbck commented on GitHub (Feb 24, 2026): If you're using a custom function, custom function should be updated.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58244