# inline_completion_button: Show the usage limits returned from the API \(\#29239\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8e7c145f2000873b4b3743c40c66db7ab7ec66f9

Requested commit: 8e7c145f2000873b4b3743c40c66db7ab7ec66f9

Commit: 8e7c145f2000873b4b3743c40c66db7ab7ec66f9

Tree: 9274483ac0c4e16479068e9bc9a46363abdd0b6d

Author: Marshall Bowers

Committer: GitHub

## Message

```
inline_completion_button: Show the usage limits returned from the API (#29239)

This PR updates the usage meter for edit predictions to use the limits
returned from the API instead of basing it off the plan.

This will allow limits to be updated from the server rather than being
embedded in the client.

Release Notes:

- N/A
```

## Parents

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

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