-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy path.env.sample
More file actions
101 lines (75 loc) · 2.32 KB
/
.env.sample
File metadata and controls
101 lines (75 loc) · 2.32 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Main settings of Leon
# https://docs.getleon.ai/configuration
# Language currently used
LEON_LANG=en-US
# Server
LEON_HOST=http://localhost
LEON_PORT=1337
# Routing mode: smart | workflow | agent
LEON_ROUTING_MODE=smart
# Comma-separated context files to disable (e.g. BROWSER_HISTORY.md,ACTIVITY.md)
LEON_DISABLED_CONTEXT_FILES=
# LLM configuration
# Providers: llamacpp | sglang | openrouter | openai | zai | moonshotai | anthropic | huggingface | cerebras | groq
# Keep empty to default to the installed local LLM
# Set to "none" to disable AI until you configure a provider later
LEON_LLM=none
# LEON_LLM=openai/gpt-5.4
# LEON_LLM=openrouter/z-ai/glm-5-turbo
# LEON_LLM=llamacpp/Qwen3.5-35B-A3B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf
# LEON_LLM=sglang/Qwen3.5-35B-A3B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf
# LEON_LLM=/absolute/path/model.gguf
# Optional per-mode overrides
LEON_AGENT_LLM=
LEON_WORKFLOW_LLM=
# Optional local llama.cpp server configuration
LEON_LLAMACPP_BASE_URL=http://127.0.0.1:8080/v1
LEON_LLAMACPP_API_KEY=
# Optional Linux high-performance local provider (OpenAI-compatible)
LEON_SGLANG_BASE_URL=http://127.0.0.1:30000/v1
LEON_SGLANG_API_KEY=
# OpenRouter API key
LEON_OPENROUTER_API_KEY=
# Z.AI API key
LEON_ZAI_API_KEY=
# OpenAI API key
LEON_OPENAI_API_KEY=
# Anthropic API key
LEON_ANTHROPIC_API_KEY=
# Moonshot AI API key
LEON_MOONSHOTAI_API_KEY=
# HuggingFace API key
LEON_HUGGINGFACE_API_KEY=
# Cerebras API key
LEON_CEREBRAS_API_KEY=
# Groq API key
LEON_GROQ_API_KEY=
# Enable/disable Leon's wake word
LEON_WAKE_WORD=false
# Enable/disable Leon's speech-to-text
LEON_STT=false
# Speech-to-text provider
LEON_STT_PROVIDER=local
# Enable/disable Leon's text-to-speech
LEON_TTS=false
# Text-to-speech provider
LEON_TTS_PROVIDER=local
# Time zone (current one by default)
LEON_TIME_ZONE=
# Enable/disable after speech
LEON_AFTER_SPEECH=false
# Enable/disable skills to be available over HTTP
LEON_OVER_HTTP=true
# HTTP API key (use "pnpm run generate:http-api-key" to regenerate one)
LEON_HTTP_API_KEY=
# Language used for the HTTP API
LEON_HTTP_API_LANG=en-US
# Enable/disable telemetry
LEON_TELEMETRY=true
# Python TCP server
LEON_PY_TCP_SERVER_HOST=0.0.0.0
LEON_PY_TCP_SERVER_PORT=1342
# Path to the Pipfile
PIPENV_PIPFILE=tcp_server/src/Pipfile
# Path to the virtual env in .venv/
PIPENV_VENV_IN_PROJECT=true