# agent: Fail faster in case streaming tool call fails \(\#50834\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f69ab1d04e53577b4fc5e873ebb0ec0bbd3283e2

Requested commit: f69ab1d04e53577b4fc5e873ebb0ec0bbd3283e2

Commit: f69ab1d04e53577b4fc5e873ebb0ec0bbd3283e2

Tree: b19e27c48ff4865fb2157a852017fb23ee07695e

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Fail faster in case streaming tool call fails (#50834)

If a streaming tool call (e.g. edit file) returns an error during
streaming, we would wait until we received the whole input.

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
```

## Parents

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

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