# assistant2: Change system prompt to discourage doom loops \(\#27781\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ca6be249dc09aa3aed1b7a678bc9de5ac686b8dc

Requested commit: ca6be249dc09aa3aed1b7a678bc9de5ac686b8dc

Commit: ca6be249dc09aa3aed1b7a678bc9de5ac686b8dc

Tree: 4d78651f5d87ad6c4a653f35b112afaf487b06ce

Author: Agus Zubiaga

Committer: GitHub

## Message

```
assistant2: Change system prompt to discourage doom loops (#27781)

Ask assistant to limit diagnostic fix attempts to 3 max

Release Notes:

- N/A

Co-authored-by: Richard Feldman <richard@zed.dev>
```

## Parents

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

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