-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
71 lines (57 loc) · 4.83 KB
/
.env.example
File metadata and controls
71 lines (57 loc) · 4.83 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
# ── Trooper V2 Configuration ──────────────────────────────────────────────────
# Trooper sits between your app and your cloud LLM.
# When cloud fails — Ollama catches it locally.
# Set at least one cloud provider key to get started.
# ── Cloud Providers (set at least one) ───────────────────────────────────────
# Claude (recommended primary)
CLAUDE_API_KEY=sk-ant-...
# Gemini — uncomment to add to chain
# GEMINI_API_KEY=AIza...
# OpenAI — uncomment to add to chain
# OPENAI_API_KEY=sk-...
# ── Local Fallback (always available) ────────────────────────────────────────
FALLBACK_URL=http://localhost:11434/api/chat
OLLAMA_MODEL=# ── Trooper V2 Configuration ──────────────────────────────────────────────────
# Trooper sits between your app and your cloud LLM.
# When cloud fails — Ollama catches it locally.
# Set at least one cloud provider key to get started.
# ── Cloud Providers (set at least one) ───────────────────────────────────────
# Claude (recommended primary)
CLAUDE_API_KEY=sk-ant-...
# Gemini — uncomment to add to chain
# GEMINI_API_KEY=AIza...
# OpenAI — uncomment to add to chain
# OPENAI_API_KEY=sk-...
# ── Local Fallback (always available) ────────────────────────────────────────
FALLBACK_URL=http://localhost:11434/api/chat
OLLAMA_MODEL=llama3.1:8b
# ── SITREP Extraction Model ───────────────────────────────────────────────────
# Separate model for SITREP distillation — runs async, doesn't block requests.
# Llama 3.1 8b gives better SITREP quality than qwen2.5:3b.
# Defaults to OLLAMA_MODEL if not set.
# SITREP_MODEL=llama3.1:8b
# ── Fluff Filter ──────────────────────────────────────────────────────────────
# Strip pleasantries and filler from prompts before sending to LLM.
# TROOPER_REMOVE_FLUFF=true
# ── Trigger Config ────────────────────────────────────────────────────────────
QUOTA_STATUS_CODES=429,402,529,400
# ── Server ────────────────────────────────────────────────────────────────────
TROOPER_PORT=3000
# ── Features ─────────────────────────────────────────────────────────────────
# AUTO_RECOVERY=true # enable auto recovery to best available provider
# TROOPER_BIND=0.0.0.0 # uncomment only if you need network access (not recommended)
# ── SITREP Extraction Model ───────────────────────────────────────────────────
# Separate model for SITREP distillation — runs async, doesn't block requests.
# Llama 3.1 8b gives better SITREP quality than qwen2.5:3b.
# Defaults to OLLAMA_MODEL if not set.
# SITREP_MODEL=llama3.1:8b
# ── Fluff Filter ──────────────────────────────────────────────────────────────
# Strip pleasantries and filler from prompts before sending to LLM.
# TROOPER_REMOVE_FLUFF=true
# ── Trigger Config ────────────────────────────────────────────────────────────
QUOTA_STATUS_CODES=429,402,529,400
# ── Server ────────────────────────────────────────────────────────────────────
TROOPER_PORT=3000
# ── Features ─────────────────────────────────────────────────────────────────
# AUTO_RECOVERY=true # enable auto recovery to best available provider
# TROOPER_BIND=0.0.0.0 # uncomment only if you need network access (not recommended)