Skip to content

Commit 0e49dd7

Browse files
fylornclaude
andcommitted
feat: add Azure OpenAI and AWS Bedrock providers
Backend: - AzureOpenAiProvider: uses Azure URL pattern (/openai/deployments/{model}/ chat/completions) with api-key header auth, supports api_version in config_json - BedrockProvider: uses AWS Converse API with SigV4 signing via official aws-sigv4 crate, credentials stored as "access_key_id:secret_access_key" - Updated provider loader to instantiate azure_openai and bedrock types - Added default prefix patterns (Azure/Bedrock require explicit model registration) Frontend: - Added Azure OpenAI and AWS Bedrock to provider type dropdowns (providers page + setup wizard) - Dynamic placeholder text based on provider type (region for Bedrock, resource endpoint for Azure) - AWS credential format hint in create form Supported providers: OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock, Custom (OpenAI-compatible) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c5865a0 commit 0e49dd7

9 files changed

Lines changed: 761 additions & 35 deletions

File tree

‎Cargo.lock‎

Lines changed: 184 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ utoipa = { version = "5", features = ["axum_extras", "uuid", "chrono"] }
7575
utoipa-axum = "0.2"
7676
utoipa-swagger-ui = { version = "9", features = ["axum"] }
7777

78+
# AWS (Bedrock SigV4 signing)
79+
aws-sigv4 = "1"
80+
aws-credential-types = { version = "1", features = ["hardcoded-credentials"] }
81+
7882
# Utils
7983
uuid = { version = "1", features = ["v4", "serde"] }
8084
chrono = { version = "0.4", features = ["serde"] }

0 commit comments

Comments
 (0)