diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-24 07:16:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 07:16:56 +0800 |
| commit | 0a4c0413ef0154cde2e3485ec0415e6069596a23 (patch) | |
| tree | 02527d5ee4b23b43a34bf90eeb817e1cc066d97c /Cargo.toml | |
| parent | 9c6c9f10a27d0993636b453f39d8934c95c5c2b2 (diff) | |
| download | aichat-0a4c0413ef0154cde2e3485ec0415e6069596a23.tar.gz | |
feat: serve all LLMs as OpenAI-compatible API (#431)
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -23,6 +23,8 @@ serde = { version = "1.0.152", features = ["derive"] } serde_json = { version = "1.0.93", features = ["preserve_order"] } serde_yaml = "0.9.17" tokio = { version = "1.34.0", features = ["rt", "time", "macros", "signal", "rt-multi-thread"] } +tokio-graceful = "0.1.6" +tokio-stream = { version = "0.1.15", default-features = false, features = ["sync"] } crossterm = "0.27.0" chrono = "0.4.23" bincode = "1.3.3" @@ -45,6 +47,11 @@ sha2 = "0.10.8" bitflags = "2.4.1" unicode-width = "0.1.11" async-recursion = "1.1.0" +http = "1.1.0" +http-body-util = "0.1" +hyper = { version = "1.0", features = ["full"] } +hyper-util = { version = "0.1", features = ["server-auto", "client-legacy"] } +time = { version = "0.3.36", features = ["macros"] } [dependencies.reqwest] version = "0.12.0" |
