# Fix error when deserializing Gemini streams \(\#29470\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3fdbc3090d2cc5c2e24014009cccbe5e7c55d217

Requested commit: 3fdbc3090d2cc5c2e24014009cccbe5e7c55d217

Commit: 3fdbc3090d2cc5c2e24014009cccbe5e7c55d217

Tree: 6e0390d107586387ef4ecde167a59552b1a75905

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix error when deserializing Gemini streams (#29470)

Sometimes Gemini would report `Content` without a `parts` field.

Release Notes:

- Fixed a bug that would sometimes cause Gemini models to fail streaming
their response.
```

## Parents

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

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