Upgrade async-openai (0.31.1 -> 0.32.1) and adapt, adding support for gpt-image-1.5

This commit is contained in:
Slavi Pantaleev
2025-12-21 12:23:25 +02:00
parent ae8e878817
commit 08c689a889
4 changed files with 9 additions and 5 deletions

View File

@@ -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.31.1", features = ["audio", "chat-completion", "image"] }
async-openai = { version = "0.32.1", features = ["audio", "chat-completion", "image"] }
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.