# open_ai: Make Assistant message content optional \(\#31418\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ef0e1cb2bab05b631770063e2238d46f7dfb52a8

Requested commit: ef0e1cb2bab05b631770063e2238d46f7dfb52a8

Commit: ef0e1cb2bab05b631770063e2238d46f7dfb52a8

Tree: 51d1cadeea3e2360faaf18140f2b8c6d14357bc5

Author: Ben Brandt

Committer: GitHub

## Message

```
open_ai: Make Assistant message content optional (#31418)

Fixes regression caused by:
https://github.com/zed-industries/zed/pull/30639

Assistant messages can come back with no content, and we no longer
allowed that in the deserialization.

Release Notes:

- open_ai: fixed deserialization issue if assistant content was empty
```

## Parents

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

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