Files
Bennet Bo Fenner 41e9dc5837 opencode: Share catalog parsing and completion dispatch (#65922)
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.
2026-10-21 12:12:56 +00:00

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"] }