# assistant2: Consider tool use as part of the "streaming" state \(\#26723\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a0be6c8cb28c5d3b0619d8a25240b5d02344e672

Requested commit: a0be6c8cb28c5d3b0619d8a25240b5d02344e672

Commit: a0be6c8cb28c5d3b0619d8a25240b5d02344e672

Tree: 19a77980fe19ebd9b54035d77fa3ae7d3fae26bb

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant2: Consider tool use as part of the "streaming" state (#26723)

This PR updates the `Thread::is_streaming` method so that it includes
tool use in the "streaming" state.

This will prevent the streaming indicator from disappearing when we're
doing tool use.

Release Notes:

- N/A
```

## Parents

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

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