introduce ai crate with completion providers

This commit is contained in:
KCaverly 2023-09-21 22:44:56 -04:00
parent 5f6334696a
commit 48e151495f
10 changed files with 273 additions and 242 deletions

21
crates/ai/Cargo.toml Normal file
View file

@ -0,0 +1,21 @@
[package]
name = "ai"
version = "0.1.0"
edition = "2021"
publish = false
[lib]
path = "src/ai.rs"
doctest = false
[dependencies]
gpui = { path = "../gpui" }
anyhow.workspace = true
futures.workspace = true
isahc.workspace = true
regex.workspace = true
serde.workspace = true
serde_json.workspace = true
[dev-dependencies]
ctor.workspace = true