# Wire up \`@mention\`ed files in assistant2 \(\#23389\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8f87b5637af4d4e68fbcf0ecfa0b43a03404f638

Requested commit: 8f87b5637af4d4e68fbcf0ecfa0b43a03404f638

Commit: 8f87b5637af4d4e68fbcf0ecfa0b43a03404f638

Tree: b04cc1db5585cf83283c54fd370cd3d77e0f9389

Author: Richard Feldman

Committer: GitHub

## Message

```
Wire up `@mention`ed files in assistant2 (#23389)

`@mention`ed files in assistant2 now get replaced by the full path of
the file in what gets sent to the model, while rendering visually as
just the filename (in a crease, so they can only be selected/deleted as
a whole unit, not character by character).


https://github.com/user-attachments/assets/a5867a93-d656-4a17-aced-58424c6e8cf6

Release Notes:

- N/A

---------

Co-authored-by: João Marcos <joao@zed.dev>
Co-authored-by: Conrad <conrad@zed.dev>
```

## Parents

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

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