- Refresh ROADMAP.md to reflect current Forgejo milestones and open feature issues\n- Add .env logging controls and update src/logger.py to honor them (console/file/error toggles, per-handler levels)\n- Fix indentation bug in src/autochat.py so emoji reactions work\n- Truncate and standardize logs; document logging usage in .env
35 lines
No EOL
1.3 KiB
Bash
35 lines
No EOL
1.3 KiB
Bash
DISCORD_TOKEN=MTM2OTc3NDY4OTYzNDg4MTU4Ng.G9Nrgz.akHoOO9SrXCDwiOCI3BUXfdR4bpSNb9zrVx9UI
|
|
# This is using the TailScale IP
|
|
OLLAMA_API=http://192.168.0.100:11434/
|
|
MODEL_NAME=gemma3:12b
|
|
CHANNEL_ID=1380999713272238151
|
|
SHOW_THINKING_BLOCKS=false
|
|
DEBUG_MODE=true
|
|
AUTOREPLY_ENABLED=true
|
|
# ---------------------------
|
|
# Logging configuration
|
|
# - LOG_LEVEL: global base level (INFO recommended)
|
|
# - LOG_CONSOLE: enable console logs (true/false)
|
|
# - LOG_CONSOLE_LEVEL: level for console output (INFO, DEBUG, etc.)
|
|
# - LOG_CONSOLE_TO_STDOUT: if true, console logs go to STDOUT (useful for container logging)
|
|
# - LOG_TO_FILE: enable writing to a rotating file
|
|
# - LOG_FILE_LEVEL: level stored in the file (set to DEBUG to capture full LLM payloads)
|
|
# - LOG_FILE: filename for rotated logs
|
|
# - LOG_ERROR_FILE: enable writing errors to a separate file (filename is derived)
|
|
# Example: to capture full prompts/responses in logs, set LOG_FILE_LEVEL=DEBUG
|
|
LOG_LEVEL=INFO
|
|
LOG_CONSOLE=true
|
|
LOG_CONSOLE_LEVEL=INFO
|
|
LOG_CONSOLE_TO_STDOUT=true
|
|
LOG_TO_FILE=true
|
|
LOG_FILE_LEVEL=DEBUG
|
|
LOG_FILE=bot.log
|
|
LOG_ERROR_FILE=true
|
|
# ---------------------------
|
|
# Cooldown in seconds
|
|
AUTOREPLY_COOLDOWN=0
|
|
# Used for Codex to reach my repo on Forgejo
|
|
FORGEJO_URL=https://forgejo.milotech.us
|
|
FORGEJO_OWNER=milo
|
|
FORGEJO_REPO=AI-Discord-Bot
|
|
FORGEJO_TOKEN=e404acfa246e3a8c07c5c15a98f8ac4b7384c3c5 |