-
-
Notifications
You must be signed in to change notification settings - Fork 445
Expand file tree
/
Copy path.env.example
More file actions
96 lines (70 loc) · 3.17 KB
/
Copy path.env.example
File metadata and controls
96 lines (70 loc) · 3.17 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
# repowise Environment Variables
# Copy this file to .env and fill in your values.
# Never commit .env to version control.
# ---------------------------------------------------------------------------
# LLM Provider API Keys (set at least one)
# ---------------------------------------------------------------------------
# Anthropic (recommended for best results)
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# OpenAI
OPENAI_API_KEY=your_openai_api_key_here
# DeepSeek
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# DEEPSEEK_BASE_URL=https://api.deepseek.com
# Kimi
KIMI_API_KEY=your_kimi_api_key_here
# KIMI_BASE_URL=https://api.kimi.com/coding/v1
# Ollama — no API key needed, but set base URL if non-default
# OLLAMA_BASE_URL=http://localhost:11434
# LiteLLM proxy (for Together AI, Replicate, Groq, etc.)
# LITELLM_API_KEY=your_litellm_key_here
# LITELLM_BASE_URL=http://localhost:4000
# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
# SQLite (default, no setup required)
DATABASE_URL=sqlite+aiosqlite:///./repowise.db
# PostgreSQL (optional, for production deployments)
# DATABASE_URL=postgresql+asyncpg://user:password@localhost/repowise
# ---------------------------------------------------------------------------
# Storage Paths
# ---------------------------------------------------------------------------
# LanceDB vector store path (used when DATABASE_URL is SQLite)
# When DATABASE_URL is PostgreSQL, pgvector is used instead — no separate path needed
LANCEDB_PATH=./data/lancedb
# Dependency graph storage path
GRAPH_PATH=./data/graphs
# ---------------------------------------------------------------------------
# Server
# ---------------------------------------------------------------------------
# Optional API key to protect repowise API endpoints
# Leave empty for fully open access (suitable for local use)
REPOWISE_API_KEY=
# Server bind address and port
REPOWISE_HOST=0.0.0.0
REPOWISE_PORT=7337
# MCP server port (SSE transport)
REPOWISE_MCP_PORT=7338
# ---------------------------------------------------------------------------
# Generation Defaults
# ---------------------------------------------------------------------------
# Default provider: anthropic | openai | ollama | litellm
REPOWISE_DEFAULT_PROVIDER=anthropic
# Default model (depends on provider)
REPOWISE_DEFAULT_MODEL=claude-sonnet-4-6
# Max concurrent LLM calls during generation
REPOWISE_MAX_CONCURRENT=5
# Reasoning mode for supported docs-generation providers: auto | off | minimal
# auto = provider default; off = disable Qwen3/OpenRouter effort reasoning when supported;
# minimal = request the lowest supported OpenAI/OpenRouter reasoning effort.
# Unsupported explicit modes fail before an API call.
REPOWISE_REASONING=auto
# Max pages to regenerate per maintenance run
REPOWISE_CASCADE_BUDGET=30
# ---------------------------------------------------------------------------
# Development
# ---------------------------------------------------------------------------
# Set to "true" to enable debug logging
REPOWISE_DEBUG=false
# Log level: DEBUG | INFO | WARNING | ERROR
REPOWISE_LOG_LEVEL=INFO