add Azure OpenAI Responses provider with deployment-aware model mapping
This commit is contained in:
committed by
Mario Zechner
parent
951fb953ed
commit
856012296b
@@ -197,6 +197,7 @@ Add API keys to `~/.pi/agent/auth.json`:
|
||||
|----------|--------------|---------------------|
|
||||
| Anthropic | `anthropic` | `ANTHROPIC_API_KEY` |
|
||||
| OpenAI | `openai` | `OPENAI_API_KEY` |
|
||||
| Azure OpenAI | `azure-openai-responses` | `AZURE_OPENAI_API_KEY` |
|
||||
| Google | `google` | `GEMINI_API_KEY` |
|
||||
| Mistral | `mistral` | `MISTRAL_API_KEY` |
|
||||
| Groq | `groq` | `GROQ_API_KEY` |
|
||||
@@ -209,6 +210,8 @@ Add API keys to `~/.pi/agent/auth.json`:
|
||||
| MiniMax | `minimax` | `MINIMAX_API_KEY` |
|
||||
| MiniMax (China) | `minimax-cn` | `MINIMAX_CN_API_KEY` |
|
||||
|
||||
Azure OpenAI also requires `AZURE_OPENAI_ENDPOINT` or `AZURE_OPENAI_RESOURCE_NAME`. Optional: `AZURE_OPENAI_API_VERSION` (defaults to `2025-04-01-preview`) and `AZURE_OPENAI_DEPLOYMENT_NAME` to override the deployment name.
|
||||
|
||||
Auth file keys take priority over environment variables.
|
||||
|
||||
**OAuth Providers:**
|
||||
|
||||
Reference in New Issue
Block a user