mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-20 23:50:25 +01:00
61c8c19fc8
- Drive the list of Gemini models used by BYOK from Google's model catalog API instead of a hardcoded enum. (The catalog doesn't report everything we need, so some string-matching is done for certain properties.) - Ignore empty `usageMetadata` values during streaming. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. Release Notes: - N/A
37 lines
939 B
TOML
37 lines
939 B
TOML
[package]
|
|
name = "language_models_cloud"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/language_models_cloud.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
anthropic = { workspace = true, features = ["schemars"] }
|
|
anyhow.workspace = true
|
|
cloud_api_client.workspace = true
|
|
cloud_llm_client.workspace = true
|
|
futures.workspace = true
|
|
google_ai.workspace = true
|
|
gpui.workspace = true
|
|
http_client.workspace = true
|
|
language_model.workspace = true
|
|
log.workspace = true
|
|
open_ai = { workspace = true, features = ["schemars"] }
|
|
schemars.workspace = true
|
|
semver.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
|
|
[dev-dependencies]
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
http_client = { workspace = true, features = ["test-support"] }
|
|
language_model = { workspace = true, features = ["test-support"] }
|