Skip to content

[Bug]: Github Copilot doesn't properly pass reasoning_effort parameter when calling thinking models #11140

@Michael8021

Description

@Michael8021

Note

This issue/comment/review was translated by Claude.

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

v.1.6.7

Bug Description

In v.1.6.7, when sending requests to thinking models like gpt5 mini, the reasoning level doesn't take effect. Checking the debug tool reveals that the reasoning_effort parameter is not being passed. It was passed in v.1.6.6.

Steps To Reproduce

  1. Adjust reasoning level
  2. Send request to thinking models like gpt5 mini
  3. Check request body

Expected Behavior

reasoning_effort should be passed

Relevant Log Output

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

v.1.6.7

Bug Description

在v.1.6.7中,向思考模型如gpt5 mini发送请求,思考程度不生效,查看调试工具发现没有传入reasoning_effort参数。在v.1.6.6是传入的。

Steps To Reproduce

  1. 调整思考程度
  2. 向思考模型如gpt5 mini发送请求
  3. 查看请求体

Expected Behavior

应该传入reasoning_effort

Relevant Log Output

Additional Context

No response

Metadata

Metadata

Assignees

Labels

BUGCategorizes issue or PR as related to a bugModelsCategorizes an issue or PR as relevant to SIG LLM

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions