# Tell the system prompt not to write incomplete code \(\#28245\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bfe08e449fa6ccdee0777dbc850d7dcb5ded1a7a

Requested commit: bfe08e449fa6ccdee0777dbc850d7dcb5ded1a7a

Commit: bfe08e449fa6ccdee0777dbc850d7dcb5ded1a7a

Tree: 6dedb97c5e18f04e6cc4fa1f7eca371829a1ff8a

Author: Richard Feldman

Committer: GitHub

## Message

```
Tell the system prompt not to write incomplete code (#28245)

Sometimes agents do this. I've had some success responding by telling it
not to do this, so trying out having it in the system prompt.

Release Notes:

- Adjusted the system prompt to avoid incomplete code generation.
```

## Parents

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

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