# Add support for queuing status updates in cloud language model provider \(\#29818\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 04772bf17d9d80d890ca71bce420c4c746c18d45

Requested commit: 04772bf17d9d80d890ca71bce420c4c746c18d45

Commit: 04772bf17d9d80d890ca71bce420c4c746c18d45

Tree: 09ef979aabf15dc1eaf5a491c2c0878ce415b92c

Author: Max Brunsfeld

Committer: GitHub

## Message

````
Add support for queuing status updates in cloud language model provider (#29818)

This sets us up to display queue position information to the user, once
our language model backend is updated to support request queuing.

The JSON returned by the LLM backend will need to look like this:

```json
{"queue": {"status": "queued", "position": 1}}
{"queue": {"status": "started"}}
{"event": {"THE_UPSTREAM_MODEL_PROVIDER_EVENT": "..."}} 
```

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
````

## Parents

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

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