# agent: Add \`use_modifier_to_send\` section in the settings view \(\#34866\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a3850b3d38928e87f01b67d43755b5a5cc410605

Requested commit: a3850b3d38928e87f01b67d43755b5a5cc410605

Commit: a3850b3d38928e87f01b67d43755b5a5cc410605

Tree: 2aaf88832ae7415f0b2c61bd6f95a01d1b3594c0

Author: Danilo Leal

Committer: GitHub

## Message

```
agent: Add `use_modifier_to_send` section in the settings view  (#34866)

This PR also converts all of these switch-based settings to use the new
`SwitchField` component, introduced in
https://github.com/zed-industries/zed/pull/34713.

Release Notes:

- agent: Added the ability to change the `use_modifier_to_send` setting
from the agent panel settings UI.
```

## Parents

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

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