-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
37 lines (31 loc) · 2.67 KB
/
.env.example
File metadata and controls
37 lines (31 loc) · 2.67 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
# ──────────────────────────────────────────────────────────────────────────────
# Agent Patterns Demo Pack — Environment Configuration
# Copy this file to `.env` and adjust as needed. All variables are optional;
# sensible defaults are used when a value is blank or missing.
# ──────────────────────────────────────────────────────────────────────────────
# ── Model Provider ────────────────────────────────────────────────────────────
# Which backend to use for all agents.
# foundry_local → on-device via Foundry Local (default, no API keys)
# azure_foundry → Microsoft Foundry / Azure OpenAI cloud
MODEL_PROVIDER=foundry_local
# ── Foundry Local ─────────────────────────────────────────────────────────────
# The local model alias to use (run `foundry model list` to see available aliases).
# Recommended: qwen2.5-1.5b (fast) or phi-4-mini / qwen2.5-7b (better handoff/tool-calling).
FOUNDRY_MODEL=qwen2.5-1.5b
# Leave FOUNDRY_LOCAL_ENDPOINT blank to auto-detect via the foundry-local-sdk.
# Foundry Local uses a *dynamic port* — only override when running on a custom port.
# FOUNDRY_LOCAL_ENDPOINT=http://localhost:<dynamic-port>/v1
# Foundry Local doesn't require an API key, but the OpenAI client needs a placeholder.
FOUNDRY_API_KEY=foundry-local
# ── Microsoft Foundry (Cloud) ─────────────────────────────────────────────────
# Set MODEL_PROVIDER=azure_foundry above to activate these.
AZURE_FOUNDRY_ENDPOINT=https://<your-project>.openai.azure.com/
AZURE_FOUNDRY_API_KEY=<your-api-key>
AZURE_FOUNDRY_MODEL=gpt-4o-mini
# If using an Azure OpenAI deployment, set the deployment name (otherwise leave blank).
AZURE_FOUNDRY_DEPLOYMENT=
# ── Web UI ────────────────────────────────────────────────────────────────────
# Port the launcher / dashboard listens on (http://localhost:<UI_PORT>).
UI_PORT=8765
# Host interface to bind to. Keep 127.0.0.1 for local-only use (recommended).
HOST=127.0.0.1