-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
45 lines (32 loc) · 1.43 KB
/
.env.example
File metadata and controls
45 lines (32 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# --- API Keys ---
# Google Gemini API Key - Get one from https://aistudio.google.com/
# Required if using 'gemini' backend
GEMINI_API_KEY=your_gemini_api_key_here
# Alibaba DashScope API Key - Get one from DashScope Model Studio
# Required if using 'qwen', 'qwen_realtime', or 'qwen_omni' backends
DASHSCOPE_API_KEY=your_dashscope_api_key_here
# Llama / Local Model Server URL
# Required if using 'llama_liquid_audio_server' or 'llama_liquid_interleaved'
LIQUID_SERVER_URL=http://127.0.0.1:8080/v1/chat/completions
# --- Default Session Configuration ---
# Initial LLM Backend to use ('gemini', 'qwen_realtime', 'llama_liquid_interleaved', etc.)
# Note: Backends can be overridden per-device in the Web UI.
LLM_BACKEND=gemini
# Optional: Default Model & Voice Overrides
# GEMINI_MODEL=gemini-2.5-flash-native-audio-preview-12-2025
# GEMINI_VOICE=Aoede
# QWEN_MODEL=qwen3-omni-flash-realtime
# QWEN_VOICE=Cherry
# LLAMA_MODEL=llama-liquid-interleaved
# LLAMA_VOICE=UK female
# --- Server & Auth Configuration ---
CLIENT_AUTH_TOKEN=your_client_auth_token_here
ADMIN_PASSWORD=your_admin_password_here
HOST=127.0.0.1
PORT=3000
# For servers behind Nginx, use your public domain and wss://
# MQTT_ENDPOINT=mqtt://your-example-domain.com:1883
# WEBSOCKET_URL_FOR_ALLOWED_DEVICE=wss://your-example-domain.com/xiaozhi/v1/
# For local testing, see .env.example.local
MQTT_ENDPOINT=127.0.0.1
WEBSOCKET_URL_FOR_ALLOWED_DEVICE=ws://127.0.0.1:3000/xiaozhi/v1/