
This PR updates the Agent to extract the usage information from the response headers, if they are present. For now we just log the information, but we'll be using this soon to populate some UI. Release Notes: - N/A
46 lines
1 KiB
TOML
46 lines
1 KiB
TOML
[package]
|
|
name = "language_model"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/language_model.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
anthropic = { workspace = true, features = ["schemars"] }
|
|
anyhow.workspace = true
|
|
base64.workspace = true
|
|
client.workspace = true
|
|
collections.workspace = true
|
|
futures.workspace = true
|
|
google_ai = { workspace = true, features = ["schemars"] }
|
|
gpui.workspace = true
|
|
http_client.workspace = true
|
|
icons.workspace = true
|
|
image.workspace = true
|
|
log.workspace = true
|
|
open_ai = { workspace = true, features = ["schemars"] }
|
|
parking_lot.workspace = true
|
|
proto.workspace = true
|
|
schemars.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
smol.workspace = true
|
|
strum.workspace = true
|
|
telemetry_events.workspace = true
|
|
thiserror.workspace = true
|
|
util.workspace = true
|
|
workspace-hack.workspace = true
|
|
zed_llm_client.workspace = true
|
|
|
|
[dev-dependencies]
|
|
gpui = { workspace = true, features = ["test-support"] }
|