# Use more types/constants from \`zed_llm_client\` \(\#28909\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3fef3cc392e634914d9f978f8d36e6c19375ea34

Requested commit: 3fef3cc392e634914d9f978f8d36e6c19375ea34

Commit: 3fef3cc392e634914d9f978f8d36e6c19375ea34

Tree: fa0a6faa7884828c136110a7fcb29432d671567f

Author: Marshall Bowers

Committer: GitHub

## Message

```
Use more types/constants from `zed_llm_client` (#28909)

This PR makes it so we use more types and constants from the
`zed_llm_client` crate to avoid duplicating information.

Also updates the current usage endpoint to use limits derived from the
`Plan`.

Release Notes:

- N/A
```

## Parents

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

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