mirror of
https://github.com/microsoft/SkillOpt.git
synced 2026-07-03 14:02:58 +08:00
35 lines
1.7 KiB
Plaintext
35 lines
1.7 KiB
Plaintext
# SkillOpt Environment Variables
|
|
# Copy this file to .env and fill in your values.
|
|
# Usage: set -a; source .env; set +a
|
|
|
|
# ── Azure OpenAI (required for openai_chat backend) ──────────────────
|
|
export AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
|
|
export AZURE_OPENAI_API_VERSION=2024-12-01-preview
|
|
# Authentication: choose one method
|
|
# Option 1: API Key
|
|
export AZURE_OPENAI_API_KEY=
|
|
# Option 2: Azure CLI (no API key needed, recommended on Azure VMs)
|
|
# export AZURE_OPENAI_AUTH_MODE=azure_cli
|
|
# Option 3: Managed Identity
|
|
# export AZURE_OPENAI_AUTH_MODE=managed_identity
|
|
# export AZURE_OPENAI_MANAGED_IDENTITY_CLIENT_ID=your-client-id
|
|
|
|
# ── OpenAI-compatible endpoints ──────────────────────────────────────
|
|
# Set AUTH_MODE to openai_compatible and reuse AZURE_OPENAI_ENDPOINT / _API_KEY.
|
|
# The plain OpenAI client is used; no Azure auth, no api-version header.
|
|
# export AZURE_OPENAI_ENDPOINT=https://api.openai.com/v1
|
|
# export AZURE_OPENAI_API_KEY=sk-...
|
|
# export AZURE_OPENAI_AUTH_MODE=openai_compatible
|
|
|
|
# ── Anthropic / Claude (for claude_chat backend) ─────────────────────
|
|
# export ANTHROPIC_API_KEY=sk-ant-...
|
|
|
|
# ── Qwen Local Model (for qwen_chat backend) ────────────────────────
|
|
# export QWEN_CHAT_BASE_URL=http://localhost:8000/v1
|
|
# export QWEN_CHAT_MODEL=Qwen/Qwen3.5-4B
|
|
|
|
# ── MiniMax (for minimax_chat backend) ──────────────────────────────
|
|
# export MINIMAX_BASE_URL=https://api.minimax.io/v1
|
|
# export MINIMAX_API_KEY=...
|
|
# export MINIMAX_MODEL=MiniMax-M2.7
|