29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
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 global memory retrieval by default (set to false to scope per user)
|
|
ENABLE_GLOBAL_MEMORIES=true
|
|
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
|
|
|