-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.env.example
More file actions
63 lines (48 loc) · 3.4 KB
/
.env.example
File metadata and controls
63 lines (48 loc) · 3.4 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# On-Call Copilot — Environment Variables
# Copy this file to .env and fill in your values:
# cp .env.example .env # Linux/Mac
# copy .env.example .env # Windows
#
# IMPORTANT: Never commit .env — it is excluded via .gitignore.
# ──────────────────────────────────────────────────────────────
# Required for Multi-Agent Mode (main.py)
# ──────────────────────────────────────────────────────────────
# Foundry project endpoint where the hosted agent is deployed.
AZURE_AI_PROJECT_ENDPOINT=https://<hosted-account>.services.ai.azure.com/api/projects/<hosted-project>
# Foundry project endpoint that contains the model deployment used for inference.
# Set this separately when the hosted agent and model deployment live in different projects.
AZURE_MODEL_PROJECT_ENDPOINT=https://<model-account>.services.ai.azure.com/api/projects/<model-project>
# Azure AI Services endpoint for the model resource.
AZURE_OPENAI_ENDPOINT=https://<model-account>.cognitiveservices.azure.com/
# Azure OpenAI API key (Azure Portal → Cognitive Services resource → Keys and Endpoint)
# If set, the UI server uses this key instead of requiring `az login`.
# The multi-agent server (main.py) still uses DefaultAzureCredential (az login).
AZURE_OPENAI_API_KEY=<your-api-key>
# Model Router deployment name in AZURE_MODEL_PROJECT_ENDPOINT.
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME=model-router
MODEL_ROUTER_DEPLOYMENT=model-router
# ──────────────────────────────────────────────────────────────
# Required for UI (ui/server.py) and SDK scripts
# ──────────────────────────────────────────────────────────────
# Azure deployment metadata for hosted-agent deployment.
AZURE_TENANT_ID=<your-tenant-id>
AZURE_SUBSCRIPTION_ID=<your-subscription-id>
AZURE_RESOURCE_GROUP=<hosted-agent-resource-group>
AZURE_LOCATION=<hosted-agent-region>
AZURE_AI_PROJECT_ID=/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<hosted-account>/projects/<hosted-project>
# ──────────────────────────────────────────────────────────────
# Optional
# ──────────────────────────────────────────────────────────────
# Agent name for SDK scripts (default: oncall-copilot)
# AGENT_NAME=oncall-copilot
# Agent version for SDK scripts (default: latest)
# AGENT_VERSION=latest
# Azure Container Registry settings for hosted-agent deployment.
AZURE_CONTAINER_REGISTRY_ENDPOINT=<your-registry>.azurecr.io
ACR_IMAGE=<your-registry>.azurecr.io/oncall-copilot:agent-framework-1.2.0
# Set to "true" when deploying/running as a Foundry hosted agent.
ENABLE_HOSTED_AGENTS=true
# Set to "true" to run FastAPI mock mode without Azure credentials
# MOCK_MODE=false
# Logging level (default: INFO)
# LOG_LEVEL=INFO