config.toml.global.template 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. # Voice-note transcription (optional, off unless transcribe_key is set). Sends the audio
  22. # to any OpenAI-compatible /audio/transcriptions endpoint (default: Groq, free tier).
  23. # transcribe_key = "gsk_..."
  24. # transcribe_url = "https://api.groq.com/openai/v1/audio/transcriptions"
  25. # transcribe_model = "whisper-large-v3-turbo"
  26. # transcribe_language = "it"
  27. # The system prompt (required for the AI autoreply) is not set here:
  28. # write it in SOUL.md, next to this file (see soul.md.template).