diff --git a/Cargo.lock b/Cargo.lock index d008e52..0060c98 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -184,12 +184,11 @@ checksum = "4288f83726785267c6f2ef073a3d83dc3f9b81464e9f99898240cced85fce35a" [[package]] name = "async-openai" -version = "0.36.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78efd86812da6b76e2be727c7015522dde20495855390496099f062b01d2c868" +checksum = "322adbd4772f41a55fd30c10b924a30cf557ce65bbe7ebacda5a068404645604" dependencies = [ "async-openai-macros", - "backoff", "base64 0.22.1", "bytes", "derive_builder 0.20.2", @@ -206,15 +205,16 @@ dependencies = [ "tokio", "tokio-stream", "tokio-util", + "tower", "tracing", "url", ] [[package]] name = "async-openai-macros" -version = "0.1.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81872a8e595e8ceceab71c6ba1f9078e313b452a1e31934e6763ef5d308705e4" +checksum = "492a944774207eed3acf425214eadbd6ce84a2b89331164ff1c11bae92b26302" dependencies = [ "proc-macro2", "quote", @@ -4339,8 +4339,10 @@ dependencies = [ "pin-project-lite", "sync_wrapper 1.0.2", "tokio", + "tokio-util", "tower-layer", "tower-service", + "tracing", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d3b9bfd..a3cbf66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ path = "src/lib.rs" [dependencies] anthropic = { git = "https://github.com/etkecc/anthropic-rs.git", branch = "fix-content-block-image" } anyhow = "1.0.*" -async-openai = { version = "0.36.0", features = ["audio", "chat-completion", "image", "responses"] } +async-openai = { version = "0.38.0", features = ["audio", "chat-completion", "image", "responses"] } base64 = "0.22.*" chrono = { version = "0.4.*", default-features = false, features = ["std", "now"] } # We'd rather not depend on this, but we cannot use the ruma-events EventContent macro without it.