config.toml.global.template 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. # API key of the OpenAI-compatible endpoint (required for the AI autoreply).
  2. openai_api_key = ""
  3. # Base URL of the OpenAI-compatible endpoint.
  4. openai_base_url = "https://ollama.com/v1"
  5. # Model used for autoreplies.
  6. openai_model = "deepseek-v4.1-flash"
  7. # Vision model for images (empty or unset disables image understanding).
  8. openai_vision_model = "deepseek-v4.1-flash"
  9. # Append every AI request to ai_requests.log in the data directory.
  10. ai_log = false
  11. # Seconds the autoreply waits after the first unanswered message of a chat; messages received
  12. # meanwhile are answered in the same reply, and none is sent if you answered by hand (0 = at once).
  13. reply_delay_seconds = 30
  14. # After a restart, answer the last unanswered private message if at most this many seconds old (0 = disabled).
  15. catch_up_seconds = 7200
  16. # Retries of a failed AI request, waiting 2s, 4s, ... (0 = no retry; HTTP 4xx other than 429 never retried).
  17. ai_retries = 2
  18. # Web control panel (optional): uncomment to listen on 0.0.0.0:<port>, no authentication.
  19. # Valid range 1-65535; leave unset to disable the panel.
  20. # web_port = 8080
  21. # The system prompt (required for the AI autoreply) is not set here:
  22. # write it in SOUL.md, next to this file (see soul.md.template).