[GH-ISSUE #13732] issue: 调用mcp报错,但是使用阿里百炼上相同型号的模型却没有问题 #55679

Closed
opened 2026-05-05 17:51:02 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Kun-Zhang-x on GitHub (May 9, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13732

Check Existing Issues

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

Installation Method

Docker

Open WebUI Version

v0.6.5

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04

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 listed steps to reproduce the bug in detail.

Expected Behavior

funcation call开启原生模式,成功调用mcp工具

Actual Behavior

funcation call开启原生模式,调用工具报错

Steps to Reproduce

1.启动openwebui、mcpo、vllm部署好模型
2.在页面上配置好模型、工具、function calling参数选择原生
3.开启对话,打开工具,输入对话调用工具

Logs & Screenshots

2025-05-09 12:20:54.962 | INFO | open_webui.utils.chat:generate_direct_chat_completion:106 - res: {'object': 'error', 'message': "1 validation error for ValidatorIterator\n0.function.arguments\n Field required [type=missing, input_value={'name': 'tool_get_table_name_post'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.11/v/missing", 'type': 'BadRequestError', 'param': None, 'code': 400} - {}

Additional Information

vllm==0.8.5,模型采用的是qwq-32b和qwen3-32b。奇怪的是当我使用阿里百炼上的相同的模型就可以。使用本地部署的模型就不行。

Originally created by @Kun-Zhang-x on GitHub (May 9, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13732 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.5 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04 ### 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 listed steps to reproduce the bug in detail. ### Expected Behavior funcation call开启原生模式,成功调用mcp工具 ### Actual Behavior funcation call开启原生模式,调用工具报错 ### Steps to Reproduce 1.启动openwebui、mcpo、vllm部署好模型 2.在页面上配置好模型、工具、function calling参数选择原生 3.开启对话,打开工具,输入对话调用工具 ### Logs & Screenshots 2025-05-09 12:20:54.962 | INFO | open_webui.utils.chat:generate_direct_chat_completion:106 - res: {'object': 'error', 'message': "1 validation error for ValidatorIterator\n0.function.arguments\n Field required [type=missing, input_value={'name': 'tool_get_table_name_post'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.11/v/missing", 'type': 'BadRequestError', 'param': None, 'code': 400} - {} ### Additional Information vllm==0.8.5,模型采用的是qwq-32b和qwen3-32b。奇怪的是当我使用阿里百炼上的相同的模型就可以。使用本地部署的模型就不行。
GiteaMirror added the bug label 2026-05-05 17:51:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#55679