mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
41e9dc5837
Extract OpenCode catalog parsing, model filtering, and completion dispatch into the existing `opencode` crate so Zed and Delta can use the same implementation without importing Zed's application-level `language_models` crate. Also ports over some fixes that we had in Delta for Deepseek and Google models. Release Notes: - Improved OpenCode compatibility when replaying DeepSeek reasoning and disabling thinking for Google models.
34 lines
667 B
TOML
34 lines
667 B
TOML
[package]
|
|
name = "opencode"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/opencode.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
default = []
|
|
schemars = ["dep:schemars"]
|
|
|
|
[dependencies]
|
|
anthropic.workspace = true
|
|
anyhow.workspace = true
|
|
futures.workspace = true
|
|
google_ai.workspace = true
|
|
http_client.workspace = true
|
|
language_model_core.workspace = true
|
|
log.workspace = true
|
|
open_ai.workspace = true
|
|
schemars = { workspace = true, optional = true }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[dev-dependencies]
|
|
http_client = { workspace = true, features = ["test-support"] }
|