-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (24 loc) · 1.43 KB
/
.env.example
File metadata and controls
28 lines (24 loc) · 1.43 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
# Copy to .env and set your API keys.
# python-dotenv loads these when the provider router is used (and in examples/_config.py).
# For worker/planner models and paths, you can use ~/.config/hivemind/config.toml instead
# (see README Configuration). API keys stay in .env or environment only.
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
GOOGLE_API_KEY=
# --- Azure OpenAI (GPT: gpt-4o, gpt-5-mini on same endpoint) ---
# When set, GPT models use Azure; deployment name = model name (e.g. gpt-4o, gpt-5-mini).
# Use the CHAT COMPLETIONS base URL, not the Responses API URL:
# - Correct (Azure Foundry): https://your-resource.cognitiveservices.azure.com/openai/v1
# - Wrong: .../openai/responses (Responses API; causes 404 DeploymentNotFound)
# AZURE_OPENAI_ENDPOINT=https://your-resource.cognitiveservices.azure.com/openai/v1
# AZURE_OPENAI_API_KEY=
# AZURE_OPENAI_API_VERSION=2025-04-01-preview
# Optional default deployment if not passing model name: AZURE_OPENAI_DEPLOYMENT_NAME=gpt-5-mini
# --- Azure Anthropic (Claude: e.g. claude-opus-4-6-2) ---
# When set, Claude models use Azure Foundry instead of native Anthropic.
# AZURE_ANTHROPIC_ENDPOINT=https://your-resource.services.ai.azure.com/anthropic/v1/messages
# AZURE_ANTHROPIC_API_KEY=
# AZURE_ANTHROPIC_DEPLOYMENT_NAME=claude-opus-4-6-2
# --- Override models used by examples (default with Azure: gpt-4o / gpt-5-mini, claude-opus-4-6-2) ---
# HIVEMIND_WORKER_MODEL=gpt-5-mini
# HIVEMIND_PLANNER_MODEL=gpt-4o