feat: add client.chat_async() method

This commit is contained in:
Ivan Gabriele
2024-03-04 04:57:48 +01:00
parent 33876183e4
commit 1dd59f6704
4 changed files with 139 additions and 11 deletions

View File

@@ -16,9 +16,11 @@ repository = "https://github.com/ivangabriele/mistralai-client-rs"
[dependencies]
minreq = { version = "2.11.0", features = ["https-rustls", "json-using-serde"] }
reqwest = { version = "0.11.24", features = ["json"] }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
thiserror = "1.0.57"
tokio = { version = "1.36.0", features = ["full"] }
[dev-dependencies]
jrest = "0.2.3"