# 消息总结插件配置 [general] enabled = true [api] # 群总结能力改为场景路由,后台切换 summary.daily 即可统一切换实现。 scene = "summary.daily" connect_timeout_seconds = 10 retry_delays_seconds = [10, 20] [output] output_dir = "output" image_format = "png" # 图片渲染模式: # - template: 使用 HTML 模板渲染(模板样式稳定后再切换) # - markdown: 使用历史 md2image 样式 summary_image_mode = "markdown" # 总结卡片模板路径(相对项目根目录) summary_image_template_path = "plugins/message_summary/templates/gemini_summary_card.html" # 模板模式截图视口配置(仅 template 模式生效) # 说明: # 1. 这里可以覆盖 md2image 默认 780 宽; # 2. 模板卡片宽度约 420,截图建议 460~520 区间; # 3. scale 提高后字体与线条会更清晰。 template_viewport_width = 580 template_viewport_height = 960 template_device_scale_factor = 2.0