-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
53 lines (45 loc) · 2.06 KB
/
env.example
File metadata and controls
53 lines (45 loc) · 2.06 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
# =============================================================================
# Print-OS Unified Environment Variables (env.example)
# =============================================================================
# This file consolidates configuration for both caedo-web (Next.js) and
# caedo-api (FastAPI). Copy this file to .env in the project root.
# =============================================================================
# -----------------------------------------------------------------------------
# FRONTEND CONFIGURATION (caedo-web)
# -----------------------------------------------------------------------------
PORT=3002
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_BACKEND_WS_URL=ws://localhost:8000
NEXT_PUBLIC_ENABLE_VOICE=true
NEXT_PUBLIC_ENABLE_WEBGPU=true
NEXT_PUBLIC_DEBUG_MODE=false
# -----------------------------------------------------------------------------
# BACKEND CONFIGURATION (caedo-api)
# -----------------------------------------------------------------------------
BACKEND_PORT=8000
PFOS_DB_PATH=farm.db
# BACKEND_API_URL used by Next.js server routes to call FastAPI
BACKEND_API_URL=http://localhost:8000
# -----------------------------------------------------------------------------
# AI PROVIDER CONFIGURATION (Shared by both if needed)
# -----------------------------------------------------------------------------
# Choose one or more providers: zai, anthropic, openai, ollama, etc.
AI_PROVIDER=zai
# Z.AI (GLM-4.7 / GLM-4.6)
ZAI_API_KEY=your-zai-api-key
ZAI_MODEL=glm-4.7
ZAI_BASE_URL=https://api.z.ai/api/coding/paas/v4
# Anthropic Claude
ANTHROPIC_API_KEY=sk-ant-xxx
ANTHROPIC_MODEL=claude-3-5-sonnet-20241022
# OpenAI
OPENAI_API_KEY=sk-xxx
OPENAI_MODEL=gpt-4o
# Ollama (Local)
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=phi4-mini:latest
# -----------------------------------------------------------------------------
# UPSTASH / INFRASTRUCTURE (Optional for Solo-Local)
# -----------------------------------------------------------------------------
UPSTASH_REDIS_URL=https://xxx.upstash.io
UPSTASH_REDIS_TOKEN=your-upstash-token