[GH-ISSUE #16430] issue: importing function file w/ json from openwebui.com error #56566

Closed
opened 2026-05-05 19:43:00 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @robmurrer on GitHub (Aug 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16430

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

0.6.20

Ollama Version (if applicable)

No response

Operating System

Linux

Browser (if applicable)

No response

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

function .json should import

Actual Behavior

On uploading the json downloaded from www.openwebui.com we get success toast then an error.

Steps to Reproduce

  1. Sign in and browse to a tool on www.openwebui.com ala: https://openwebui.com/f/joeykot/reasoning_switch
  2. Click Get and then download json
  3. Upload to your openwebui instance
  4. Error

It seems the schema is slightly different than what the import expects. You can manually convert it like below:

Logs & Screenshots

Image Image Image

function-Reasoning Switch_FIXED.json
function-Reasoning Switch_ORIGINAL.json

Additional Information

Not sure why it works from the website posting to my local instances, but I am pretty sure it isn't same json format. the schema seems different between what is downloaded vs posted.

Originally created by @robmurrer on GitHub (Aug 10, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16430 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version 0.6.20 ### Ollama Version (if applicable) _No response_ ### Operating System Linux ### Browser (if applicable) _No response_ ### 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 function .json should import ### Actual Behavior On uploading the json downloaded from www.openwebui.com we get success toast then an error. ### Steps to Reproduce 1. Sign in and browse to a tool on www.openwebui.com ala: https://openwebui.com/f/joeykot/reasoning_switch 2. Click Get and then download json 3. Upload to your openwebui instance 4. Error It seems the schema is slightly different than what the import expects. You can manually convert it like below: ### Logs & Screenshots <img width="486" height="314" alt="Image" src="https://github.com/user-attachments/assets/42866a9a-946a-4073-bf6c-892ee672ce5a" /> <img width="1099" height="363" alt="Image" src="https://github.com/user-attachments/assets/edd6f711-0c8f-4bfb-8a60-9437a80a7c5b" /> <img width="1114" height="661" alt="Image" src="https://github.com/user-attachments/assets/bbc9c43a-83c2-41f2-af59-8aade4473a78" /> [function-Reasoning Switch_FIXED.json](https://github.com/user-attachments/files/21703810/function-Reasoning.Switch_FIXED.json) [function-Reasoning Switch_ORIGINAL.json](https://github.com/user-attachments/files/21703809/function-Reasoning.Switch_ORIGINAL.json) ### Additional Information Not sure why it works from the website posting to my local instances, but I am pretty sure it isn't same json format. the schema seems different between what is downloaded vs posted.
GiteaMirror added the bug label 2026-05-05 19:43:00 -05:00
Author
Owner

@bratland commented on GitHub (Aug 13, 2025):

Any progress on this?

<!-- gh-comment-id:3183483403 --> @bratland commented on GitHub (Aug 13, 2025): Any progress on this?
Author
Owner

@tjbck commented on GitHub (Aug 13, 2025):

Addressed with 72168b1586 in dev.

<!-- gh-comment-id:3186053378 --> @tjbck commented on GitHub (Aug 13, 2025): Addressed with 72168b15865e96cecb301669b457a4538122ca33 in dev.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#56566