# API key of the OpenAI-compatible endpoint (required for the AI autoreply). openai_api_key = "" # Base URL of the OpenAI-compatible endpoint. openai_base_url = "https://ollama.com/v1" # Model used for autoreplies. openai_model = "deepseek-v4.1-flash" # Vision model for images (empty or unset disables image understanding). openai_vision_model = "deepseek-v4.1-flash" # Append every AI request to ai_requests.log in the data directory. ai_log = false # Seconds between autoreplies in a private chat or to a group message addressed to you (0 = no cooldown). cooldown_seconds = 30 # Seconds between autoreplies to group messages not addressed to you (0 = no cooldown). group_cooldown_seconds = 300 # After a restart, answer the last unanswered private message if at most this many seconds old (0 = disabled). catch_up_seconds = 7200 # Retries of a failed AI request, waiting 2s, 4s, ... (0 = no retry; HTTP 4xx other than 429 never retried). ai_retries = 2 # Web control panel (optional): uncomment to listen on 0.0.0.0:, no authentication. # Valid range 1-65535; leave unset to disable the panel. # web_port = 8080 # The system prompt (required for the AI autoreply) is not set here: # write it in soul.md, next to this file (see soul.md.template).