Files
Nova/.env.example
2026-03-03 21:20:38 +01:00

27 lines
1013 B
Plaintext

DISCORD_TOKEN=your_discord_bot_token
# Use OpenRouter by setting USE_OPENROUTER=true and providing OPENROUTER_API_KEY.
USE_OPENROUTER=false
OPENROUTER_API_KEY=your_openrouter_api_key
OPENROUTER_MODEL=meta-llama/llama-3-8b-instruct
OPENROUTER_EMBED_MODEL=nvidia/llama-nemotron-embed-vl-1b-v2
BOT_CHANNEL_ID=
CODER_USER_ID=
# enable the optional local web dashboard (defaults to false)
ENABLE_DASHBOARD=false
# port for the dashboard if enabled
DASHBOARD_PORT=3000
# Max short-term turns stored per user (default 12)
SHORT_TERM_LIMIT=12
# Set to false to stop continually summarizing the short-term buffer
ENABLE_SHORT_TERM_SUMMARY=true
# Number of short-term turns before an automatic summary request (default 12)
SUMMARY_TRIGGER_TURNS=12
ENABLE_WEB_SEARCH=true
OPENAI_API_KEY=your_openai_api_key
# Memory retrieval cooldown (ms) before the same long-term entry can be reused
MEMORY_COOLDOWN_MS=180000
# Soft memory recall requires the retrieved score meet this threshold
MEMORY_RECALL_SIMILARITY_THRESHOLD=0.62