01-bug-report.yml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. # yaml-language-server: $schema=https://json.schemastore.org/github-issue-forms.json
  2. name: 🐛 遇到问题了
  3. description: 程序运行不正常、报错或功能失效(含 AI 分析问题)
  4. title: "[问题] "
  5. labels: ["bug"]
  6. body:
  7. - type: markdown
  8. attributes:
  9. value: |
  10. ### ⚠️ 提交前必读
  11. **请确保你正在使用 TrendRadar 的最新版本。**
  12. 很多问题在最新代码中可能已经修复。如果你使用的是旧版本,我将无法处理,请先更新后再试。
  13. **简单的描述 + 关键截图** 是最有效的沟通方式。
  14. ---
  15. ### 📌 如何查看版本号?
  16. | 部署方式 | 查看方法 |
  17. |---------|---------|
  18. | **Docker** | 查看容器启动日志,版本号显示在日志开头 |
  19. | **GitHub Actions** | 查看 [README 文档](https://github.com/sansan0/TrendRadar) 顶部的 ![version](https://img.shields.io/badge/version-blue) 徽章 |
  20. | **本地 Python** | 查看项目根目录的 `version` 文件 |
  21. - type: input
  22. id: version
  23. attributes:
  24. label: 📦 TrendRadar 版本
  25. description: |
  26. 请务必提供版本号(如:v5.2.0 或 git commit id)
  27. 💡 Docker 用户:查看容器启动日志 | GitHub Actions 用户:查看文档顶部 version 徽章
  28. placeholder: v5.2.0 或 commit hash
  29. validations:
  30. required: true
  31. - type: input
  32. id: mcp-version
  33. attributes:
  34. label: 🔌 MCP Server 版本 (可选)
  35. description: 如果你是通过 MCP 使用,请填写 MCP Server 的版本。
  36. placeholder: v3.1.6 (非 MCP 用户留空)
  37. validations:
  38. required: false
  39. - type: dropdown
  40. id: bug-category
  41. attributes:
  42. label: 🏷️ 问题类别
  43. options:
  44. - AI 分析相关(报错、内容异常、提示词失效等)
  45. - 数据获取相关(爬不到新闻、平台失效等)
  46. - 通知推送相关(收不到消息、推送报错等)
  47. - 部署运行相关(Docker、Actions、Python 报错)
  48. - 其他
  49. validations:
  50. required: true
  51. - type: input
  52. id: ai-model
  53. attributes:
  54. label: 🤖 AI 模型名称(AI 问题必填)
  55. description: |
  56. 如果是 AI 分析相关问题,请提供你使用的具体模型名称。
  57. AI 问题与模型能力密切相关,不同模型表现差异很大。
  58. placeholder: "例如:deepseek/deepseek-chat、openai/gpt-4o、gemini/gemini-2.5-flash"
  59. validations:
  60. required: false
  61. - type: textarea
  62. id: bug-description
  63. attributes:
  64. label: 📝 描述发生了什么
  65. placeholder: |
  66. 请描述:
  67. 1. 你在做什么?
  68. 2. 出现了什么错误?(如果是 AI 问题,请贴出分析失败的错误提示)
  69. 3. 建议上传一张截图,这比文字更有力!
  70. validations:
  71. required: true
  72. - type: textarea
  73. id: error-logs
  74. attributes:
  75. label: 📋 错误日志/配置(可选)
  76. description: |
  77. 贴出相关的错误日志或 config.yaml 片段(记得隐藏 API Key 等敏感信息)
  78. 💡 Docker 用户:使用 `docker logs trendradar` 查看日志
  79. placeholder: |
  80. 贴出相关的错误日志或 config.yaml 片段:
  81. ```
  82. 在这里贴内容...
  83. ```
  84. validations:
  85. required: false
  86. - type: textarea
  87. id: screenshots
  88. attributes:
  89. label: 📷 截图(强烈建议)
  90. description: |
  91. ⚠️ **重要提示**:请提供**完整截图**,不要只截取局部!
  92. - 错误截图应包含完整的错误信息和上下文
  93. - 推送截图应包含完整的消息内容
  94. - 配置截图应包含相关配置段的完整内容
  95. 局部截图往往缺少关键信息,会导致问题难以定位。
  96. placeholder: 拖拽截图到这里,请确保截图完整,包含足够的上下文信息。
  97. validations:
  98. required: false
  99. - type: dropdown
  100. id: environment
  101. attributes:
  102. label: 🖥️ 使用环境
  103. options:
  104. - Docker (本地/NAS)
  105. - GitHub Actions
  106. - 本地 Python 运行
  107. - MCP Server 客户端 (Cherry Studio等)
  108. validations:
  109. required: true