[Bug]: Third-party platform models cannot call tools

Author: lc461184174Created Sep 29, 2026Updated Sep 29, 2026

This issue was translated automatically.

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

Windows

Version

2.1.3

Bug Description

Using models from platforms like AiOnly to call MCP tools, or uploading attachments will show HTTP error 400

Error name: AI_APICallError Error message: Stack trace: null Status code: 400

Steps To Reproduce

  1. Select a third-party platform model
  2. Write a prompt asking to use MCP tool XX to do something
  3. Return error message

Expected Behavior

Should execute normally

Relevant Log Output

bash

Additional Context

No response


Original Content

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

Windows

Version

2.1.3

Bug Description

使用AiOnly等平台的模型调用MCP工具,或者上传附件会提示http错误400

错误名称: AI_APICallError 错误信息: 堆栈信息: null 状态码: 400

Steps To Reproduce

1.选择三方平台的模型 2.提示词写使用MCP工具XX做什么事 3.返回错误提示

Expected Behavior

能够正常执行

Relevant Log Output

bash

Additional Context

No response