Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion crates/aisix-provider-azure-openai/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,25 @@ description = "aisix: Azure OpenAI Service provider bridge (skeleton — deploym
[dependencies]
aisix-core = { path = "../aisix-core" }
aisix-gateway = { path = "../aisix-gateway" }
# Azure OpenAI's chat-completions wire shape is the OpenAI shape with
# a different URL pattern + auth header + a tolerated `content_filter_results`
# extension field. We reuse `aisix-provider-openai`'s typed wire structs
# (`OpenAiResponse` / `OpenAiStreamChunk`) and override apply helpers
# (param_renames / default_headers / etc.) instead of re-implementing
# them — keeping a single source of truth for the OpenAI JSON contract.
aisix-provider-openai = { path = "../aisix-provider-openai" }
async-trait.workspace = true
thiserror.workspace = true
tracing.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
futures.workspace = true
async-stream = "0.3"
bytes.workspace = true
http.workspace = true

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt", "time"] }
serde_json.workspace = true
wiremock.workspace = true
Loading
Loading