# agent: Discourage long-running commands \(\#29627\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2508e491d5a827fd54abedaf70da5c8fca40c6c3

Requested commit: 2508e491d5a827fd54abedaf70da5c8fca40c6c3

Commit: 2508e491d5a827fd54abedaf70da5c8fca40c6c3

Tree: 55d26359204697d6bbd9bdfec62552f1b738f231

Author: Agus Zubiaga

Committer: GitHub

## Message

```
agent: Discourage long-running commands (#29627)

Adds popular examples of long-running commands to system prompt. 

Unfortunately, I couldn't add an eval example as the new terminal tool
no longer works in `eval`. We can look into that tomorrow, but I'm
seeing improvements when manually testing this, so I'd like to merge it.

<img
src="https://github.com/user-attachments/assets/ac24e617-e068-466f-875d-c30e1f2465c4"
width=400></img>


Release Notes:

- agent: Discourage long-running commands
```

## Parents

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

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