We'll now cache LLM responses at the request level (by hash of URL+contents) for both context and prediction. This way we don't need to worry about mistakenly using the cache when we change the prompt or its components. Release Notes: - N/A --------- Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
58 lines
1.5 KiB
TOML
58 lines
1.5 KiB
TOML
[package]
|
|
name = "zeta2"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/zeta2.rs"
|
|
|
|
[features]
|
|
llm-response-cache = []
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
arrayvec.workspace = true
|
|
chrono.workspace = true
|
|
client.workspace = true
|
|
cloud_llm_client.workspace = true
|
|
cloud_zeta2_prompt.workspace = true
|
|
collections.workspace = true
|
|
edit_prediction.workspace = true
|
|
edit_prediction_context.workspace = true
|
|
feature_flags.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
indoc.workspace = true
|
|
language.workspace = true
|
|
language_model.workspace = true
|
|
log.workspace = true
|
|
open_ai.workspace = true
|
|
project.workspace = true
|
|
release_channel.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
smol.workspace = true
|
|
thiserror.workspace = true
|
|
util.workspace = true
|
|
uuid.workspace = true
|
|
workspace.workspace = true
|
|
worktree.workspace = true
|
|
|
|
[dev-dependencies]
|
|
clock = { workspace = true, features = ["test-support"] }
|
|
cloud_llm_client = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
lsp.workspace = true
|
|
indoc.workspace = true
|
|
language = { workspace = true, features = ["test-support"] }
|
|
language_model = { workspace = true, features = ["test-support"] }
|
|
pretty_assertions.workspace = true
|
|
project = { workspace = true, features = ["test-support"] }
|
|
settings = { workspace = true, features = ["test-support"] }
|
|
zlog.workspace = true
|