Skip to content

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

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

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

Conversation

@zed-zippy
Copy link
Copy Markdown
Contributor

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

Cherry-pick of #54103 to preview


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, danilo-leal and maxbrunsfeld and removed request for a team April 16, 2026 17:52
@rtfeldman rtfeldman merged commit cb2e16d into v0.233.x Apr 16, 2026
40 of 42 checks passed
@rtfeldman rtfeldman deleted the cherry-pick-v0.233.x-223e4ae0 branch April 16, 2026 18:18
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

3 participants