forked from kaushikchaturvedula/FORGE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (39 loc) · 2.63 KB
/
Copy path.env.example
File metadata and controls
48 lines (39 loc) · 2.63 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
# ── FORGE environment ────────────────────────────────────────────────────────
# Copy to backend/.env and fill in real values. NEVER commit the filled-in file.
# ── Qwen Cloud / Alibaba Cloud Model Studio (DashScope) ──────────────────────
# Get a key at https://bailian.console.alibabacloud.com (International / Singapore)
DASHSCOPE_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Realtime endpoint region: "intl" (Singapore) or "cn" (Beijing).
FORGE_REGION=intl
# Realtime omni model id. Use qwen3.5-omni-plus-realtime — it has full tool/function
# support. Available on the international endpoint.
FORGE_REALTIME_MODEL=qwen3.5-omni-plus-realtime
# Voice for synthesized audio output. qwen3.5-omni-*-realtime voices: Tina (default),
# Ethan, Serena, Dylan, Sunny, … (Cherry is flash/turbo-only — rejected on plus).
FORGE_VOICE=Tina
# Dump every raw realtime event to the log for protocol debugging.
# FORGE_DEBUG_EVENTS=0
# Advanced realtime tuning — the defaults match the live DashScope spec; only change
# these if the protocol shifts. VAD: "server_vad" (broadly supported) or "semantic_vad".
# FORGE_VAD_TYPE=server_vad
# Tool schema wire format: "flat" (OpenAI-Realtime style) or "nested".
# FORGE_TOOLS_FORMAT=flat
# Optional tool_choice override sent with session.update (empty = omit).
# FORGE_TOOL_CHOICE=
# ── Background diagnostic agent (off the realtime loop) ──────────────────────
# A SEPARATE Qwen TEXT model (OpenAI-compatible chat-completions, same DASHSCOPE_API_KEY)
# that reasons over the telemetry/fault context to produce a structured diagnosis. Optional
# — both have defaults; set qwen-flash for cheaper/faster, qwen-max for deeper reasoning.
# FORGE_DIAGNOSTIC_MODEL=qwen-plus
# FORGE_DIAGNOSTIC_TIMEOUT_S=20
# ── Alibaba Cloud — OSS (static assets) + deployment proof ───────────────────
ALIBABA_CLOUD_ACCESS_KEY_ID=LTAIxxxxxxxxxxxxxxxx
ALIBABA_CLOUD_ACCESS_KEY_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OSS_BUCKET=forge-assets
OSS_ENDPOINT=https://oss-ap-southeast-1.aliyuncs.com
OSS_REGION=ap-southeast-1
# ── Server ───────────────────────────────────────────────────────────────────
FORGE_HOST=0.0.0.0
FORGE_PORT=8000
# Comma-separated allowed CORS / WebSocket origins for the frontend.
FORGE_ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173