diff --git a/Cargo.lock b/Cargo.lock index c8a7f28c..2ffa0447 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -59,28 +59,6 @@ version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" -[[package]] -name = "async-openai" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d5e93aca1b2f0ca772c76cadd43e965809df87ef98e25e47244c7f006c85d2" -dependencies = [ - "backoff", - "base64 0.21.4", - "derive_builder", - "futures", - "rand 0.8.5", - "reqwest", - "reqwest-eventsource", - "serde", - "serde_json", - "thiserror", - "tokio", - "tokio-stream", - "tokio-util", - "tracing", -] - [[package]] name = "async-openai" version = "0.11.1" @@ -1879,7 +1857,7 @@ name = "llm-chain-openai" version = "0.12.3" dependencies = [ "anyhow", - "async-openai 0.10.3", + "async-openai", "async-trait", "futures", "llm-chain", @@ -3394,7 +3372,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52aacc1cff93ba9d5f198c62c49c77fa0355025c729eed3326beaf7f33bc8614" dependencies = [ "anyhow", - "async-openai 0.11.1", + "async-openai", "base64 0.21.4", "bstr", "fancy-regex", diff --git a/crates/llm-chain-openai/Cargo.toml b/crates/llm-chain-openai/Cargo.toml index ecb8d5fb..4ff3e876 100644 --- a/crates/llm-chain-openai/Cargo.toml +++ b/crates/llm-chain-openai/Cargo.toml @@ -14,7 +14,7 @@ repository = "https://github.com/sobelio/llm-chain/" [dependencies] futures = "0.3.28" -async-openai = "0.10.3" +async-openai = "0.11.1" async-trait = "0.1.68" llm-chain = { path = "../llm-chain", version = "0.12.3", default-features = false } serde = { version = "1.0.164" }