# copilot_chat: Set Copilot output config only when effort exists \(\#54103\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/223e4ae0e9c5be6ebc0a15c1aa0a1f8eccd215c1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 223e4ae0e9c5be6ebc0a15c1aa0a1f8eccd215c1

Requested commit: 223e4ae0e9c5be6ebc0a15c1aa0a1f8eccd215c1

Commit: 223e4ae0e9c5be6ebc0a15c1aa0a1f8eccd215c1

Tree: 1669d454eb9997f9ff3db6d2f46dc8ebb69e70b7

Author: Ben Brandt

Committer: GitHub

## Message

```
copilot_chat: Set Copilot output config only when effort exists (#54103)

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>
```

## Parents

- [a9e7b7767207ccf40bcba04a4c5cad96d6916f13](https://git.cafe/gitcafe/zed/commit/a9e7b7767207ccf40bcba04a4c5cad96d6916f13?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/223e4ae0e9c5be6ebc0a15c1aa0a1f8eccd215c1?format=markdown)
