mirror of
https://github.com/christinminor459/OnionClaw.git
synced 2026-07-27 22:15:28 +00:00
44 lines
2.6 KiB
Bash
44 lines
2.6 KiB
Bash
# ──────────────────────────────────────────────────────────────────
|
|
# SICRY — Environment Configuration
|
|
# Copy this to .env and fill in your values
|
|
# ──────────────────────────────────────────────────────────────────
|
|
|
|
# ── TOR ───────────────────────────────────────────────────────────
|
|
TOR_SOCKS_HOST=127.0.0.1
|
|
TOR_SOCKS_PORT=9050
|
|
TOR_CONTROL_HOST=127.0.0.1
|
|
TOR_CONTROL_PORT=9051
|
|
# TOR_CONTROL_PASSWORD=your_password_here # only if you set one in torrc
|
|
# TOR_DATA_DIR=/tmp/tor_data # path to Tor DataDirectory (for cookie auth)
|
|
TOR_TIMEOUT=45
|
|
|
|
# ── LLM PROVIDER ─────────────────────────────────────────────────
|
|
# Which backend to use: openai | anthropic | gemini | ollama | llamacpp
|
|
LLM_PROVIDER=openai
|
|
|
|
# ── OpenAI ────────────────────────────────────────────────────────
|
|
OPENAI_API_KEY=sk-...
|
|
OPENAI_MODEL=gpt-4o
|
|
|
|
# ── Anthropic / Claude ────────────────────────────────────────────
|
|
ANTHROPIC_API_KEY=sk-ant-...
|
|
ANTHROPIC_MODEL=claude-opus-4-5
|
|
|
|
# ── Google Gemini ─────────────────────────────────────────────────
|
|
GEMINI_API_KEY=AIza...
|
|
GEMINI_MODEL=gemini-2.5-flash
|
|
|
|
# ── Ollama (local, no key needed) ─────────────────────────────────
|
|
# Run: OLLAMA_HOST=0.0.0.0 ollama serve &
|
|
OLLAMA_BASE_URL=http://127.0.0.1:11434
|
|
OLLAMA_MODEL=llama3.2
|
|
|
|
# ── llama.cpp server (local, no key needed) ───────────────────────
|
|
LLAMACPP_BASE_URL=http://127.0.0.1:8080
|
|
|
|
# ── SICRY BEHAVIOUR ───────────────────────────────────────────────
|
|
# Max characters of scraped content to pass to the LLM
|
|
SICRY_MAX_CHARS=8000
|
|
# TTL for the fetch() result cache (seconds). 0 = disable caching.
|
|
SICRY_CACHE_TTL=600
|