-
Notifications
You must be signed in to change notification settings - Fork 518
Expand file tree
/
Copy path.env.example
More file actions
63 lines (48 loc) · 3.17 KB
/
Copy path.env.example
File metadata and controls
63 lines (48 loc) · 3.17 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
# II-Agent Local Development Environment
# Copy this file to .env: cp .env.example .env
# Then fill in your API keys below.
# ─── Core ─────────────────────────────────────────────────────────
ENVIRONMENT=local
# ─── Database (matches docker infra defaults) ─────────────────────
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/ii_agent
# ─── Redis ────────────────────────────────────────────────────────
REDIS_SESSION_URL=redis://localhost:6379/0
REDIS_SESSION_ENABLED=true
# ─── Storage (local or minio for development) ────────────────────
STORAGE_PROVIDER=minio
STORAGE_BUCKET_NAME=ii-agent-dev
STORAGE_MINIO_ENDPOINT=localhost:9000
STORAGE_MINIO_ACCESS_KEY=minioadmin
STORAGE_MINIO_SECRET_KEY=minioadmin
STORAGE_MINIO_SECURE=false
# ─── Auth ─────────────────────────────────────────────────────────
ACCESS_TOKEN_EXPIRE_MINUTES=43200
JWT_SECRET_KEY=local-dev-secret-change-in-production
OAUTHLIB_INSECURE_TRANSPORT=1
# Google OAuth (optional — leave empty to skip Google login)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/oauth/google/callback
# ─── Frontend URL ─────────────────────────────────────────────────
II_FRONTEND_URL=http://localhost:5173
VITE_API_URL=http://localhost:8000
# ─── LLM Configuration ───────────────────────────────────────────
# At least one LLM must be configured for the agent to work.
# Uncomment and fill in the provider(s) you want to use.
# Option A: Inline JSON array
# MODEL_CONFIGS='[{"model_id":"gpt-5.2","provider":"OpenAI","api_key":"sk-...","display_name":"GPT-5.2","is_default":true}]'
# Option B: YAML file (see model_configs.example.yaml)
# MODEL_CONFIGS_FILE=model_configs.yaml
# Provider values: OpenAI | Anthropic | Google | Cerebras | Custom
# API type values (in params.api_type): vertex_ai | azure | bedrock | null
# ─── Sandbox (optional — needed for code execution) ──────────────
# SANDBOX_PROVIDER=e2b
# SANDBOX_E2B_API_KEY=
# ─── Tool Server (optional) ──────────────────────────────────────
# TOOL_SERVER_URL=http://localhost:1236
# ─── Prompt Enhancement (optional) ───────────────────────────────
# ENHANCE_PROMPT_OPENAI_API_KEY=
# ─── Web Search (optional) ───────────────────────────────────────
# WEB_SEARCH_SERPAPI_API_KEY=
# WEB_VISIT_FIRECRAWL_API_KEY=
# WEB_VISIT_JINA_API_KEY=