mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #13732] issue: 调用mcp报错,但是使用阿里百炼上相同型号的模型却没有问题 #136740
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 @Kun-Zhang-x on GitHub (May 9, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13732
Check Existing Issues
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
README.md.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。奇怪的是当我使用阿里百炼上的相同的模型就可以。使用本地部署的模型就不行。