Skip to content

copilot_chat: Set Copilot output config only when effort exists (#54103) (cherry-pick to stable)#54105

Merged
rtfeldman merged 1 commit intov0.232.xfrom
cherry-pick-v0.232.x-223e4ae0
Apr 16, 2026
Merged

copilot_chat: Set Copilot output config only when effort exists (#54103) (cherry-pick to stable)#54105
rtfeldman merged 1 commit intov0.232.xfrom
cherry-pick-v0.232.x-223e4ae0

Conversation

@zed-zippy
Copy link
Copy Markdown
Contributor

@zed-zippy zed-zippy bot commented Apr 16, 2026

Cherry-pick of #54103 to stable


It seems their verification got stricter, at least stricter than
Anthropics. Only set the output config if we have an effort.

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX
    checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Closes #54036

Release Notes:

  • copilot_chat: Fix invalid reasoning effort for some models.

Co-authored-by: John Tur john-tur@outlook.com

It seems their verification got stricter, at least stricter than
Anthropics. Only set the output config if we have an effort.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #54036

Release Notes:

- copilot_chat: Fix invalid reasoning effort for some models.

Co-authored-by: John Tur <john-tur@outlook.com>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Apr 16, 2026
@zed-community-bot zed-community-bot bot added the bot Pull requests authored by a bot label Apr 16, 2026
@zed-codeowner-coordinator zed-codeowner-coordinator bot requested review from a team, bennetbo and osyvokon and removed request for a team April 16, 2026 17:51
@rtfeldman rtfeldman merged commit 18721fd into v0.232.x Apr 16, 2026
39 of 41 checks passed
@rtfeldman rtfeldman deleted the cherry-pick-v0.232.x-223e4ae0 branch April 16, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants