# agent_ui: Prioritize file completions that are closer to recently viewed files \(\#47466\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 36fef4446d3af28cbaf9b5f8b715dc934ca188ab

Requested commit: 36fef4446d3af28cbaf9b5f8b715dc934ca188ab

Commit: 36fef4446d3af28cbaf9b5f8b715dc934ca188ab

Tree: 04f2042275c2684964f8d4bba36b58c313258bd7

Author: Lukas Wirth

Committer: GitHub

## Message

```
agent_ui: Prioritize file completions that are closer to recently viewed files (#47466)

Release Notes:

- Improved @ file completions in agent panel to be more accurate
```

## Parents

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

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