27 lines
657 B
Plaintext
27 lines
657 B
Plaintext
# P2P Wiki AI Configuration
|
|
|
|
# Content repo path (host path to p2pfoundation-wiki checkout)
|
|
# Default: ../p2pfoundation-wiki (sibling directory)
|
|
# On Netcup: /opt/content/p2pfoundation-wiki
|
|
# CONTENT_REPO_PATH=../p2pfoundation-wiki
|
|
|
|
# Ollama (Local LLM)
|
|
OLLAMA_BASE_URL=http://localhost:11434
|
|
OLLAMA_MODEL=llama3.2
|
|
|
|
# Claude API (Optional - for higher quality article drafts)
|
|
ANTHROPIC_API_KEY=
|
|
CLAUDE_MODEL=claude-sonnet-4-20250514
|
|
|
|
# Hybrid Routing
|
|
USE_CLAUDE_FOR_DRAFTS=true
|
|
USE_OLLAMA_FOR_CHAT=true
|
|
|
|
# Server
|
|
HOST=0.0.0.0
|
|
PORT=8420
|
|
|
|
# Infisical (for production — fetches ANTHROPIC_API_KEY at startup)
|
|
# INFISICAL_CLIENT_ID=
|
|
# INFISICAL_CLIENT_SECRET=
|