forked from YBCarry/pixmo-docs-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (31 loc) · 1.2 KB
/
Copy path.env.example
File metadata and controls
38 lines (31 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copy this file to .env and fill in your actual values
# === API Mode Configuration ===
# Use "official" for direct API access, "proxy" for unified proxy service, or "azure" for Azure OpenAI
API_MODE=azure
# === Official API Configuration (when API_MODE=official) ===
OPENAI_API_KEY=your-openai-api-key
ANTHROPIC_API_KEY=your-anthropic-api-key
HF_TOKEN=your-hf-key
# Custom Base URLs for Official APIs (optional)
# Uncomment and modify if you need to use custom API endpoints
# OPENAI_BASE_URL=https://api.openai.com/v1
# ANTHROPIC_BASE_URL=https://api.anthropic.com
# === Proxy API Configuration (when API_MODE=proxy) ===
# Uncomment and fill when using proxy mode
PROXY_API_KEY=
PROXY_BASE_URL=
# Customize the models used by the system
OPENAI_MODEL=gpt-4o
OPENAI_MINI_MODEL=gpt-4o-mini
ANTHROPIC_MODEL=claude-3-7-sonnet-20250219
# === Azure OpenAI Configuration (when API_MODE=azure) ===
# Azure AD authentication credentials
AZURE_OPENAI_TENANT_ID=
AZURE_OPENAI_CLIENT_ID=
AZURE_OPENAI_CLIENT_SECRET=
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_API_VERSION=
# Azure deployment names (map to your actual deployed models)
AZURE_OPENAI_DEPLOYMENT=gpt-4o
AZURE_OPENAI_MINI_DEPLOYMENT=gpt-4o
AZURE_ANTHROPIC_DEPLOYMENT=gpt-4o