-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy path.env.example
More file actions
43 lines (35 loc) · 1.91 KB
/
Copy path.env.example
File metadata and controls
43 lines (35 loc) · 1.91 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
# Copy this file to .env, replace the API key, then load it with:
# set -a; . ./.env; set +a
# Server transport
POWERCONTEXT_SERVER_HTTP_HOST=127.0.0.1
POWERCONTEXT_SERVER_HTTP_PORT=8000
POWERCONTEXT_SERVER_MCP_ENABLED=true
POWERCONTEXT_SERVER_MCP_PATH=/mcp
# Built-in SQLite database
POWERCONTEXT_SERVER_DATABASE_KIND=sqlite
POWERCONTEXT_SERVER_DATABASE_URL=sqlite+aiosqlite:///.powercontext/powercontext.db
# To use OceanBase instead, replace the SQLite database values:
# POWERCONTEXT_SERVER_DATABASE_KIND=oceanbase
# POWERCONTEXT_SERVER_DATABASE_URL=mysql+aoceanbase://user:password@host:2881/powercontext?charset=utf8mb4
# To use embedded seekDB instead, install powercontext[server,seekdb] and replace the SQLite database values.
# Omit POWERCONTEXT_SERVER_DATABASE_PATH to use the Server data directory's seekdb subdirectory ($POWERCONTEXT_HOME/seekdb when set).
# POWERCONTEXT_SERVER_DATABASE_KIND=seekdb
# POWERCONTEXT_SERVER_DATABASE_PATH=.powercontext/seekdb
# Source windows are flushed explicitly unless the optional interval is set.
POWERCONTEXT_SERVER_RUNTIME_SOURCE_WINDOW_LIMIT=100
# POWERCONTEXT_SERVER_RUNTIME_SCHEDULE_SECONDS=60
# OpenRouter generation and embeddings
POWERCONTEXT_SERVER_INFERENCE_GENERATION_MODEL=openrouter:deepseek/deepseek-v4-pro
POWERCONTEXT_SERVER_INFERENCE_GENERATION_TIMEOUT_SECONDS=30
POWERCONTEXT_SERVER_INFERENCE_GENERATION_MAX_REQUESTS=2
POWERCONTEXT_SERVER_INFERENCE_EMBEDDING_MODEL=openrouter:qwen/qwen3-embedding-4b
POWERCONTEXT_SERVER_INFERENCE_EMBEDDING_PROFILE_ID=openrouter-qwen3-embedding-4b-2560-unit
POWERCONTEXT_SERVER_INFERENCE_EMBEDDING_DIMENSION=2560
POWERCONTEXT_SERVER_INFERENCE_EMBEDDING_NORMALIZATION=unit
POWERCONTEXT_SERVER_INFERENCE_EMBEDDING_TIMEOUT_SECONDS=30
OPENROUTER_API_KEY=replace-me
OPENROUTER_APP_TITLE=PowerContext
# OPENROUTER_APP_URL=https://your-application.example
# Client CLI
POWERCONTEXT_CLIENT_SERVER_URL=http://127.0.0.1:8000
POWERCONTEXT_CLIENT_TIMEOUT=10