-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
133 lines (107 loc) · 4.75 KB
/
Copy path.env.example
File metadata and controls
133 lines (107 loc) · 4.75 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# LeanFlow Environment Configuration
# Copy this file to ~/.leanflow/.env or a project-local .env and fill in the values you use.
# =============================================================================
# RECOMMENDED LEANFLOW-SCOPED PROVIDER VARIABLES
# =============================================================================
# Prefer these names so LeanFlow does not interfere with global OPENAI_* values
# used by ChatGPT, Codex, or other local tools.
# OpenAI-compatible / RCP endpoint used by provider=custom
# Replace with your real endpoint. Do not leave the placeholder host in place.
# Example: https://inference.rcp.epfl.ch/v1
LEANFLOW_OPENAI_BASE_URL=
LEANFLOW_OPENAI_API_KEY=
# OpenRouter credentials used by provider=openrouter
LEANFLOW_OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
LEANFLOW_OPENROUTER_API_KEY=
# =============================================================================
# COMPATIBILITY FALLBACK VARIABLES
# =============================================================================
# LeanFlow still understands the generic names below, but only as fallback.
# Use them only if you intentionally want those globals shared across tools.
#
# OPENAI_BASE_URL=
# OPENAI_API_KEY=
# OPENROUTER_API_KEY=
# =============================================================================
# MODEL / DIRECT PROVIDER KEYS
# =============================================================================
# z.ai / GLM
# Get your key at: https://z.ai or https://open.bigmodel.cn
GLM_API_KEY=
# GLM_BASE_URL=https://api.z.ai/api/paas/v4
# Kimi / Moonshot
KIMI_API_KEY=
# KIMI_BASE_URL=https://api.kimi.com/coding/v1
# KIMI_BASE_URL=https://api.moonshot.ai/v1
# KIMI_BASE_URL=https://api.moonshot.cn/v1
# MiniMax
MINIMAX_API_KEY=
# MINIMAX_BASE_URL=https://api.minimax.io/v1
# MiniMax China
MINIMAX_CN_API_KEY=
# MINIMAX_CN_BASE_URL=https://api.minimaxi.com/v1
# Anthropic direct
ANTHROPIC_API_KEY=
# DeepSeek direct
DEEPSEEK_API_KEY=
# =============================================================================
# TOOL API KEYS
# =============================================================================
# Firecrawl API Key - Web search, extract, and crawl
FIRECRAWL_API_KEY=
# Semantic Scholar API Key - authenticated quota for paper/related-work search
# (web_search). Without it, Semantic Scholar uses the heavily-throttled shared pool.
SEMANTIC_SCHOLAR_API_KEY=
# Jina Reader API Key - optional, raises the rate limit for web_fetch (reading a page
# or PDF via https://r.jina.ai). web_fetch works without it (anonymous quota + fallback).
JINA_API_KEY=
# Tavily API Key - optional, enables reliable GENERAL web search (web_search). Without it,
# general web search falls back to free DuckDuckGo HTML scraping (best-effort, may rate-limit).
TAVILY_API_KEY=
# FAL.ai API Key - Image generation
FAL_KEY=
# =============================================================================
# TERMINAL TOOL CONFIGURATION
# =============================================================================
# Terminal backend is configured in ~/.leanflow/config.yaml.
# Override here only when necessary.
#
# TERMINAL_ENV=local
# TERMINAL_DOCKER_IMAGE=nikolaik/python-nodejs:python3.11-nodejs20
# TERMINAL_SINGULARITY_IMAGE=docker://nikolaik/python-nodejs:python3.11-nodejs20
TERMINAL_MODAL_IMAGE=nikolaik/python-nodejs:python3.11-nodejs20
# Usually managed by config.yaml (terminal.cwd)
# TERMINAL_CWD=.
TERMINAL_TIMEOUT=60
TERMINAL_LIFETIME_SECONDS=300
# SSH backend
# TERMINAL_SSH_HOST=192.168.1.100
# TERMINAL_SSH_USER=agent
# TERMINAL_SSH_PORT=22
# TERMINAL_SSH_KEY=~/.ssh/id_rsa
# Sudo support
# SUDO_PASSWORD=your_password_here
# =============================================================================
# BROWSER TOOL CONFIGURATION
# =============================================================================
BROWSERBASE_API_KEY=
BROWSERBASE_PROJECT_ID=
BROWSERBASE_PROXIES=true
BROWSERBASE_ADVANCED_STEALTH=false
BROWSER_SESSION_TIMEOUT=300
BROWSER_INACTIVITY_TIMEOUT=120
# =============================================================================
# VOICE TRANSCRIPTION / OPENAI TTS
# =============================================================================
# Kept separate on purpose so voice tools do not depend on the main provider vars.
VOICE_TOOLS_OPENAI_KEY=
# =============================================================================
# DEBUG OPTIONS
# =============================================================================
WEB_TOOLS_DEBUG=false
# =============================================================================
# CONTEXT COMPRESSION
# =============================================================================
# Configured primarily in ~/.leanflow/config.yaml under compression.
# CONTEXT_COMPRESSION_ENABLED=true
# CONTEXT_COMPRESSION_THRESHOLD=0.85