1
0

book_issue.yml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. name: Hello-Agents 问题反馈 / Textbook Issue Report
  2. description: 报告 Hello-Agents 中的代码/内容问题 / Report code/content issues in textbook
  3. title: "[问题/Issue] 章节X.X:简短问题描述 / ChapterX.X: Brief description"
  4. labels: ["documentation", "需要审核/needs-review"]
  5. body:
  6. - type: markdown
  7. attributes:
  8. value: |
  9. 🐛 **请提供以下信息帮助我们快速定位问题 / Please provide the following information to help us locate the issue**
  10. - type: input
  11. id: chapter
  12. attributes:
  13. label: 1. 遇到问题的章节 / Affected Chapter
  14. description: "格式示例:Chapter3.2 或 Chapter6.4 / Format example: Chapter3.2 or Chapter6.4"
  15. placeholder: "ChapterX.X"
  16. validations:
  17. required: true
  18. - type: dropdown
  19. id: issue_type
  20. attributes:
  21. label: 2. 问题类型 / Issue Type
  22. description: 请选择最符合的问题类型 / Select the most appropriate issue type
  23. options:
  24. - 代码错误 / Code Error
  25. - 内容错误 / Content Error
  26. - 格式问题 / Format Issue
  27. - 依赖问题 / Dependency Issue
  28. - 文档不清晰 / Unclear Documentation
  29. - 其他 / Other
  30. validations:
  31. required: true
  32. - type: textarea
  33. id: problem
  34. attributes:
  35. label: 3. 具体问题描述 / Problem Description
  36. description: |
  37. 请清晰描述遇到的问题现象或错误信息 / Clearly describe the issue or error message
  38. - 代码问题:遇到了什么错误?预期行为是什么?/ Code issue: What error occurred? Expected behavior?
  39. - 内容问题:哪里不准确/有歧义?/ Content issue: What is inaccurate/ambiguous?
  40. - 依赖问题:缺少哪个依赖?版本冲突?/ Dependency issue: Missing dependency? Version conflict?
  41. placeholder: |
  42. 例:代码运行时出现XX错误 / E.g.: XX error when running code...
  43. 例:图3-5的内容描述不准确 / E.g.: Inaccurate description in Figure 3-5...
  44. 例:requirements.txt缺少hello-agents依赖 / E.g.: Missing hello-agents in requirements.txt...
  45. validations:
  46. required: true
  47. - type: textarea
  48. id: reproduction
  49. attributes:
  50. label: 4. 问题重现材料 / Reproduction Materials
  51. description: |
  52. 🔧 根据问题类型提供以下内容 / Provide based on issue type:
  53. - 代码问题:完整代码片段+错误日志+环境信息 / Code issue: Full code snippet + error log + environment info
  54. - 内容问题:相关段落/图片编号+修改建议 / Content issue: Related paragraph/figure + suggested fix
  55. - 格式问题:截图+问题位置描述 / Format issue: Screenshot + location description
  56. - 依赖问题:pip list输出+Python版本 / Dependency issue: pip list output + Python version
  57. placeholder: |
  58. ```python
  59. # 代码问题请粘贴完整代码 / Paste full code for code issues
  60. from hello_agents import SimpleAgent
  61. agent = SimpleAgent(...)
  62. ```
  63. **错误信息 / Error log**:
  64. ```
  65. 粘贴完整的错误日志 / Paste full error log
  66. ```
  67. **环境信息 / Environment**:
  68. - Python版本 / Python version: 3.10.x
  69. - hello-agents版本 / hello-agents version: 0.2.4
  70. - 操作系统 / OS: Windows 11 / macOS 14 / Ubuntu 22.04
  71. **建议修改 / Suggested fix**:
  72. 对原内容的修改建议... / Your suggested modification...
  73. validations:
  74. required: true
  75. - type: textarea
  76. id: additional
  77. attributes:
  78. label: 5. 补充信息 / Additional Information
  79. description: 其他可能有助于解决问题的信息 / Any other information that might help resolve the issue
  80. placeholder: |
  81. - 是否尝试过其他解决方案?/ Have you tried other solutions?
  82. - 是否在其他环境中测试过?/ Have you tested in other environments?
  83. - 相关的Issue或PR链接 / Related Issue or PR links
  84. - type: checkboxes
  85. id: checks
  86. attributes:
  87. label: 确认事项 / Verification
  88. description: 请确认以下事项 / Please confirm the following
  89. options:
  90. - label: 我已阅读过相关章节的文档 / I have read the relevant chapter documentation
  91. required: true
  92. - label: 我已搜索过现有的Issues,确认此问题未被报告 / I have searched existing Issues and confirmed this hasn't been reported
  93. required: true
  94. - label: 我已尝试过基本的故障排除(如重启、重新安装依赖等) / I have tried basic troubleshooting (restart, reinstall dependencies, etc.)
  95. required: false