# assistant2: Use \`ChatMessage\` component to render chat messages \(\#11193\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 089ea7852d3cc23fbc9544c1a1d59dc263173d50

Requested commit: 089ea7852d3cc23fbc9544c1a1d59dc263173d50

Commit: 089ea7852d3cc23fbc9544c1a1d59dc263173d50

Tree: 52389bde1d35b6a755eb7b9e58a2691bc4bb55ac

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant2: Use `ChatMessage` component to render chat messages (#11193)

This PR updates the new assistant panel to use the `ChatMessage`
component to render its chat messages.

This also lays the foundation for collapsing the messages, though that
has yet to be wired up.

Adapted from the work on the `assistant-chat-ui` branch.

Release Notes:

- N/A
```

## Parents

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

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