mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-04-25 00:06:21 +02:00
44 lines
1.1 KiB
Text
44 lines
1.1 KiB
Text
|
|
# ============================================
|
||
|
|
# Webclaw Configuration
|
||
|
|
# Copy to .env and fill in your values
|
||
|
|
# ============================================
|
||
|
|
|
||
|
|
# --- LLM Providers ---
|
||
|
|
|
||
|
|
# Ollama (local, default provider)
|
||
|
|
OLLAMA_HOST=http://localhost:11434
|
||
|
|
OLLAMA_MODEL=qwen3:8b
|
||
|
|
|
||
|
|
# OpenAI (optional cloud fallback)
|
||
|
|
# OPENAI_API_KEY — set your OpenAI key
|
||
|
|
# OPENAI_BASE_URL — defaults to https://api.openai.com/v1
|
||
|
|
# OPENAI_MODEL — defaults to gpt-4o-mini
|
||
|
|
|
||
|
|
# Anthropic (optional cloud fallback)
|
||
|
|
# ANTHROPIC_API_KEY — set your Anthropic key
|
||
|
|
# ANTHROPIC_MODEL — defaults to claude-sonnet-4-20250514
|
||
|
|
|
||
|
|
# --- Proxy ---
|
||
|
|
|
||
|
|
# Single proxy
|
||
|
|
# WEBCLAW_PROXY=http://user:pass@host:port
|
||
|
|
|
||
|
|
# Proxy file (one per line: host:port:user:pass)
|
||
|
|
# WEBCLAW_PROXY_FILE=/path/to/proxies.txt
|
||
|
|
|
||
|
|
# --- Server (webclaw-server only) ---
|
||
|
|
# WEBCLAW_PORT=3000
|
||
|
|
# WEBCLAW_HOST=0.0.0.0
|
||
|
|
# WEBCLAW_AUTH_KEY=your-auth-key
|
||
|
|
# WEBCLAW_MAX_CONCURRENCY=50
|
||
|
|
# WEBCLAW_JOB_TTL_SECS=3600
|
||
|
|
# WEBCLAW_MAX_JOBS=100
|
||
|
|
|
||
|
|
# --- CLI LLM overrides ---
|
||
|
|
# WEBCLAW_LLM_PROVIDER=ollama
|
||
|
|
# WEBCLAW_LLM_MODEL=qwen3:8b
|
||
|
|
# WEBCLAW_LLM_BASE_URL=http://localhost:11434
|
||
|
|
|
||
|
|
# --- Logging ---
|
||
|
|
# WEBCLAW_LOG=info
|