29 lines
879 B
TOML
29 lines
879 B
TOML
[Douyu]
|
|
enable = true
|
|
command = ["斗鱼订阅", "取消斗鱼订阅", "斗鱼订阅列表"]
|
|
check_interval_minutes = 5
|
|
api_url_template = "https://www.douyu.com/betard/{room_id}"
|
|
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
|
|
session_cutoff_hour = 6
|
|
merge_gap_hours = 4
|
|
daily_report_enable = true
|
|
daily_report_time = "10:05"
|
|
daily_report_min_messages = 120
|
|
daily_report_use_llm = true
|
|
daily_report_max_sessions = 4
|
|
daily_report_max_length = 1800
|
|
daily_report_send_image = true
|
|
|
|
[Douyu.report_api]
|
|
provider = "openai_compatible"
|
|
api_base_url = "http://192.168.2.240:3000/v1"
|
|
endpoint = "chat/completions"
|
|
api_key = "sk-hC6WMLAsTdItpywyrYdxT6pQ4E7NARGbUKuPWRH0zMheen9e"
|
|
model = "gpt-5.4"
|
|
timeout_seconds = 45
|
|
temperature = 0.3
|
|
max_tokens = 900
|
|
stream = true
|
|
max_retries = 3
|
|
retry_delay_seconds = 1.0
|