Release Notes: - Added Codestral edit predictions provider which can be enabled by adding an API key in the Mistral section of agent settings.  ## Config Get API key from https://console.mistral.ai/codestral and add it in the Mistral section of the agent settings. ``` "features": { "edit_prediction_provider": "codestral" }, "edit_predictions": { "codestral": { "model": "codestral-latest", "max_tokens": 150 } }, ``` --------- Co-authored-by: Michael Sloan <michael@zed.dev>
29 lines
584 B
TOML
29 lines
584 B
TOML
[package]
|
|
name = "codestral"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
path = "src/codestral.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
edit_prediction.workspace = true
|
|
edit_prediction_context.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
http_client.workspace = true
|
|
language.workspace = true
|
|
language_models.workspace = true
|
|
log.workspace = true
|
|
mistral.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
smol.workspace = true
|
|
text.workspace = true
|
|
workspace-hack.workspace = true
|
|
|
|
[dev-dependencies]
|