This repository was archived by the owner on Apr 22, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
137 lines (99 loc) · 4.49 KB
/
sample.env
File metadata and controls
137 lines (99 loc) · 4.49 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
134
135
136
137
# =============================================================================
# Dispatch Sample Environment Configuration
# =============================================================================
# Copy this file to .env and customize for your environment.
# This file documents all available environment variables.
# =============================================================================
# API KEYS - LLM Providers
# =============================================================================
# Anthropic API key (for Claude models)
ANTHROPIC_API_KEY=
# OpenAI API key (for OpenAI models)
OPENAI_API_KEY=
# OpenAI-compatible base URL (for local LLMs like LM Studio, Ollama, etc.)
OPENAI_BASE_URL=http://localhost:1234/v1
# OpenAI model name override
OPENAI_MODEL=
# =============================================================================
# CUSTOM LLM CONFIGURATION
# =============================================================================
# These settings allow you to use custom/local LLM endpoints
# Base URL for LLM API (OpenAI-compatible)
DISPATCH_LLM_BASE_URL=http://localhost:1234/api/v1
# Model identifier
DISPATCH_LLM_MODEL=qwen/qwen3-4b-thinking-2507
# API key for custom LLM endpoint (use "local" for local servers)
DISPATCH_LLM_KEY=local
# Custom chat completions endpoint (if different from base URL)
DISPATCH_LLM_CHAT_ENDPOINT=http://localhost:1234/api/v1/chat
# Custom embedding endpoint
DISPATCH_LLM_EMBEDDING_ENDPOINT=
# Force OpenAI client to use chat completions API (1, true, yes)
DISPATCH_OPENAI_USE_CHAT_COMPLETIONS=
# Maximum characters to send for embedding
DISPATCH_EMBEDDING_MAX_CHARS=
# =============================================================================
# PATHS & STORAGE
# =============================================================================
# Custom SQLite database path
DISPATCH_DB_PATH=
# Custom settings JSON path
DISPATCH_SETTINGS_PATH=
# Custom LanceDB vector store path
DISPATCH_VECTOR_PATH=
# Custom data directory path
DISPATCH_DATA_PATH=
# =============================================================================
# SERVER CONFIGURATION
# =============================================================================
# Server hostname (default: 127.0.0.1)
HOST=127.0.0.1
# Server port (default: 3001)
PORT=3001
# Alternative server host/port settings
DISPATCH_HOST=127.0.0.1
DISPATCH_PORT=3001
# Server startup timeout in milliseconds (default: 10000)
DISPATCH_SERVER_TIMEOUT_MS=10000
# Server reuse timeout in milliseconds (default: 2000)
DISPATCH_SERVER_REUSE_TIMEOUT_MS=2000
# Allow reusing an existing server instance (1 to enable)
DISPATCH_ALLOW_EXISTING_SERVER=
# =============================================================================
# TESTING - DISABLE FEATURES
# =============================================================================
# Use these to disable expensive operations during testing
# Disable all LLM calls (1 to disable)
# Useful for unit tests that don't need actual LLM responses
DISPATCH_DISABLE_LLM=
# Disable background scheduler (true to disable)
# Prevents automatic scraping and digest generation during tests
DISPATCH_DISABLE_SCHEDULER=
# =============================================================================
# TESTING - LIVE LLM TESTS
# =============================================================================
# For running live LLM integration tests (test:llm:live)
# Enable live LLM tests (1 to enable)
# Required to run packages/server/test/llm-*.live.test.ts
DISPATCH_LIVE=1
# =============================================================================
# TESTING - MOCKING & INJECTION
# =============================================================================
# For injecting test data in automated tests
# Inject RSS XML for testing (raw XML string)
DISPATCH_TEST_RSS_XML=
# Inject search results for discovery tests (JSON array string)
DISPATCH_TEST_SEARCH_RESULTS=
# Use mock embeddings in vector store (set to "mock")
DISPATCH_VECTOR_EMBEDDING_MODE=mock
# =============================================================================
# TESTING - E2E & DESKTOP
# =============================================================================
# Enable E2E testing mode (1 to enable)
# Used by Playwright desktop tests
DISPATCH_E2E=1
# =============================================================================
# SKILL GENERATION
# =============================================================================
# Continue skill generation on error (1 to continue)
DISPATCH_SKILL_CONTINUE_ON_ERROR=