# agent: Support adding selection as context \(\#28964\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 002235d0da43a118967ef25d93af1fbbc4293ba5

Requested commit: 002235d0da43a118967ef25d93af1fbbc4293ba5

Commit: 002235d0da43a118967ef25d93af1fbbc4293ba5

Tree: 7ef6fab487a0fedd86dce57b1c892f74cfddb46b

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Support adding selection as context (#28964)

https://github.com/user-attachments/assets/42ebe911-3392-48f7-8583-caab285aca09

Release Notes:

- agent: Support adding selections via @selection or `assistant: Quote
selection` as context
```

## Parents

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

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