# acp: Include only path to @mentioned directory in user message \(\#37942\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 809d3bfe0079716713ce7100138b721f75f42105

Requested commit: 809d3bfe0079716713ce7100138b721f75f42105

Commit: 809d3bfe0079716713ce7100138b721f75f42105

Tree: b9cb6562186790ddcf5f383c140693915d7f23b9

Author: Agus Zubiaga

Committer: GitHub

## Message

```
acp: Include only path to @mentioned directory in user message (#37942)

Nowadays, people don't expect @-mentioning a directory to include the
contents of all files within it. Doing so makes it very likely to
consume an undesirable amount of tokens.

By default, we'll now only include the path of the directory and let the
model decide how much to read via tools. We'll still include the
contents if no tools are available (e.g. "Minimal" profile is selected).

Release Notes:

- Agent Panel: Do not include the content of @-mentioned directories
when tools are available
```

## Parents

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

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