# Restore rendering of assistant tool calls \(\#11385\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 89039f6f34910fadce76c73258b731f0a016ccd6

Requested commit: 89039f6f34910fadce76c73258b731f0a016ccd6

Commit: 89039f6f34910fadce76c73258b731f0a016ccd6

Tree: 4a32b59d9330f952e77bb7b8c3a0dd4bd7d732f7

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Restore rendering of assistant tool calls (#11385)

Chat message rendering was restructured in
https://github.com/zed-industries/zed/pull/11327, but it caused tool
calls not to be rendered if the assistant hadn't generated any message
text.

before:

![Screenshot 2024-05-03 at 10 02
57 PM](https://github.com/zed-industries/zed/assets/326587/2b7fd763-0c75-4690-9824-3bd37a3efef2)

after:

<img width="518" alt="Screenshot 2024-05-03 at 11 17 45 PM"
src="https://github.com/zed-industries/zed/assets/326587/34de19ba-daf2-4ac1-9fe0-f51d0ce94872">

Release Notes:

- N/A
```

## Parents

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

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