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
This commit is contained in:
Marshall Bowers 2025-04-16 16:58:00 -04:00 committed by GitHub
parent 78c856cb75
commit 3fef3cc392
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 28 additions and 9 deletions

4
Cargo.lock generated
View file

@ -18387,9 +18387,9 @@ dependencies = [
[[package]]
name = "zed_llm_client"
version = "0.5.0"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57a5e1b5b3ace3fb55292a4c14036723bb8a01fac4aeaa3c2b63b51228412f94"
checksum = "9ee4d410dbc030c3e6e3af78fc76296f6bebe20dcb6d7d3fa24bca306fc8c1ce"
dependencies = [
"serde",
"serde_json",