[GH-ISSUE #18981] issue: 0.6.35 error using tools through mcpo #34266

Closed
opened 2026-04-25 08:11:23 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @GlisseManTV on GitHub (Nov 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18981

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

0.6.35

Ollama Version (if applicable)

0.12.10

Operating System

Truenas Scale 25.10

Browser (if applicable)

edge / safari / chrome

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

Using tool with mcpo API like in 0.6.34

Actual Behavior

mcpo tool call fail
"object function can't be used in 'await' expression"

Steps to Reproduce

update to 0.6.35
try a tool hosted behind mcpo like you did in earlier version
you got
"object function can't be used in 'await' expression"

Logs & Screenshots

Image

Additional Information

tried 3 tools.
I have some of these tools also in HTTP or SSE mode direct in owui and worked fine.

Originally created by @GlisseManTV on GitHub (Nov 6, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/18981 ### 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 0.6.35 ### Ollama Version (if applicable) 0.12.10 ### Operating System Truenas Scale 25.10 ### Browser (if applicable) edge / safari / chrome ### 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 Using tool with mcpo API like in 0.6.34 ### Actual Behavior mcpo tool call fail "object function can't be used in 'await' expression" ### Steps to Reproduce update to 0.6.35 try a tool hosted behind mcpo like you did in earlier version you got "object function can't be used in 'await' expression" ### Logs & Screenshots <img width="2911" height="1184" alt="Image" src="https://github.com/user-attachments/assets/f5eb2fd1-2742-46f6-9fb8-fe91e08727fd" /> ### Additional Information tried 3 tools. I have some of these tools also in HTTP or SSE mode direct in owui and worked fine.
GiteaMirror added the bug label 2026-04-25 08:11:23 -05:00
Author
Owner

@Haervwe commented on GitHub (Nov 6, 2025):

Just made a PR to fix exactly this ! #18984

<!-- gh-comment-id:3499419826 --> @Haervwe commented on GitHub (Nov 6, 2025): Just made a PR to fix exactly this ! #18984
Author
Owner

@GlisseManTV commented on GitHub (Nov 6, 2025):

Thanks for this info and work.
For the moment I reverted to .34

<!-- gh-comment-id:3499474708 --> @GlisseManTV commented on GitHub (Nov 6, 2025): Thanks for this info and work. For the moment I reverted to .34
Author
Owner

@GlisseManTV commented on GitHub (Nov 6, 2025):

@Haervwe adressed in dev .36
c2c02846a8

<!-- gh-comment-id:3499484768 --> @GlisseManTV commented on GitHub (Nov 6, 2025): @Haervwe adressed in dev .36 https://github.com/open-webui/open-webui/pull/18978/commits/c2c02846a8745859ea48ac8b8b8a9f746f6e659b
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#34266