Add `azure` (Azure OpenAI) provider to `orko-providers` crate
Agent orchestration toolkit for Rust (alpha out)
Brought to you by:
samad101
Originally created by: SAMAD101
Azure OpenAI support in orko-providers. Same wire format as [#3], but auth and URL construction differ enough that this is a codec variant, not a plain preset.
api-key: <key> header instead of Authorization: Bearer (Entra ID token auth out of scope for v0.1).{endpoint}/openai/deployments/{deployment}/chat/completions?api-version={ver} — the deployment name takes the place of the model in the path, and api-version is a required query param.model field in the request body is ignored by Azure; the deployment is the routing key.AZURE_OPENAI_API_KEY + AZURE_OPENAI_ENDPOINT (e.g. https://my-resource.openai.azure.com); optional AZURE_OPENAI_API_VERSION with a maintained default.from_str example: "azure:my-gpt4o-deployment" — the segment after : is the deployment name.The request/response/SSE codec from [#3] is reused wholesale — only the URL builder and header set are swapped. If [#3]'s preset struct can express "custom header name for the key" + "URL template", this collapses back into a preset; try that first and only fork the code path if it can't.
api-key header, no Authorization.clippy -D warnings clean.Depends on [#3].