# Revert to fix panic in inline assistant \(\#28428\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9d0fe164a70e8402648a464d44b1fef138f01b2a

Requested commit: 9d0fe164a70e8402648a464d44b1fef138f01b2a

Commit: 9d0fe164a70e8402648a464d44b1fef138f01b2a

Tree: 7d6a0426a130a120b92a6b9b9f9c6e13a12114d7

Author: Richard Feldman

Committer: GitHub

## Message

```
Revert to fix panic in inline assistant (#28428)

This reverts commit f12a554f86fa1e2b9b937a9dd103aa7c9a019db9, which
introduced a panic in inline assistant (cc @mgsloan) - I'm not sure what
the motivation was for that change, but I figure we can revert to fix
the inline assistant now and deal with that later. 😄

Panic was:

> Thread "main" panicked with "cannot read workspace::Workspace while it
is already being updated" at
/Users/rtfeldman/code/zed/crates/gpui/src/app/entity_map.rs:139:32


Release Notes:

- N/A
```

## Parents

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

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