Repository navigation
Expand file tree
/
Copy pathkeys.env.example
More file actions
49 lines (45 loc) · 2.61 KB
/
Copy pathkeys.env.example
File metadata and controls
49 lines (45 loc) · 2.61 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
# keys.env.example - OPTIONAL secrets file, not the public config.ini settings.
# Recommended: set only the variables you need in your OS / service environment.
# This avoids a second plaintext copy of secrets inside the project directory.
# The bot also supports a local keys.env: copy this file to keys.env if preferred.
# keys.env is gitignored. Never commit it, print secrets or put them in config.ini.
# Environment variables are not encrypted: protect the account/service and avoid
# exposing them in logs, shell history or shared process inspection tools.
#
# Precedence: process environment > keys.env. An explicitly empty environment
# variable also overrides the file. Restart the bot after changing either source;
# on Windows, reopen the launcher terminal after changing persistent OS variables.
#
# Choose [ai_providers] provider in config/config.ini, then supply ONLY its key:
# deepseek -> DEEPSEEK_API_KEY
# opencode -> OPENCODE_API_KEY (OpenCode Go subscription or Console credits; the endpoint is
# chosen by opencode_base_url in config.ini, both are OpenAI-compatible)
# commandcode -> COMMANDCODE_API_KEY (Command Code GOAT subscription; the same key authenticates
# the CLI and the Provider API at commandcode_base_url)
# openrouter -> OPENROUTER_API_KEY (even for Google/DeepSeek models on OpenRouter;
# their direct-provider keys are NOT needed)
# googleai -> GOOGLE_STUDIO_API_KEY
# local -> no cloud API keys (configure LM Studio in config.ini)
# all -> keys only for the fallback providers you want to enable;
# providers without credentials are skipped
# A missing key for the selected cloud provider prevents it from serving calls;
# keys for unrelated providers are NOT required. Leave them empty or remove them.
# No keys.env file is needed when the required variables are in the environment.
DEEPSEEK_API_KEY=
OPENCODE_API_KEY=
COMMANDCODE_API_KEY=
OPENROUTER_API_KEY=
GOOGLE_STUDIO_API_KEY=
# Optional Google paid-tier fallback; only useful with the Google client enabled.
GOOGLE_STUDIO_PAID_API_KEY=
# Discord: needed only when [general] discord_bot = true in config.ini.
BOT_TOKEN_DISCORD=
MAIN_CHANNEL_ID=
# Optional CoinGecko key for higher rate limits; public access works without it.
COINGECKO_API_KEY=
# Optional Hugging Face token for authenticated downloads / higher rate limits.
HF_TOKEN=
# Optional BlockRun fallback in provider = all (Base wallet for x402 payments).
# Used only for local signing. Use a dedicated wallet with minimal funds.
# Never commit the private key. Leave empty to disable the client.
BLOCKRUN_WALLET_KEY=