|
| 1 | +--- |
| 2 | +name: Bug |
| 3 | +description: Report a problem with OpenHands SDK |
| 4 | +title: '[Bug]: ' |
| 5 | +labels: [bug] |
| 6 | +body: |
| 7 | + - type: markdown |
| 8 | + attributes: |
| 9 | + value: | |
| 10 | + ## Thank you for reporting a bug! 🐛 |
| 11 | +
|
| 12 | + **Please fill out all required fields.** Issues missing critical information (version, installation method, reproduction steps, etc.) will be delayed or closed until complete details are provided. |
| 13 | +
|
| 14 | + Clear, detailed reports help us resolve issues faster. |
| 15 | +
|
| 16 | + - type: checkboxes |
| 17 | + attributes: |
| 18 | + label: Is there an existing issue for the same bug? |
| 19 | + description: Please search existing issues before creating a new one. If found, react or comment to the duplicate issue instead of making a |
| 20 | + new one. <!-- TODO-openhands --> |
| 21 | + options: |
| 22 | + - label: I have searched existing issues and this is not a duplicate. |
| 23 | + required: true |
| 24 | + |
| 25 | + - type: textarea |
| 26 | + id: bug-description |
| 27 | + attributes: |
| 28 | + label: Bug Description |
| 29 | + description: Clearly describe what went wrong. Be specific and concise. |
| 30 | + placeholder: Example - When I use the SDK to create an agent with custom tools, the agent fails to register the tools with a TypeError. |
| 31 | + validations: |
| 32 | + required: true |
| 33 | + |
| 34 | + - type: textarea |
| 35 | + id: expected-behavior |
| 36 | + attributes: |
| 37 | + label: Expected Behavior |
| 38 | + description: What did you expect to happen? |
| 39 | + placeholder: Example - The agent should successfully register custom tools and make them available for use. |
| 40 | + validations: |
| 41 | + required: false |
| 42 | + |
| 43 | + - type: textarea |
| 44 | + id: actual-behavior |
| 45 | + attributes: |
| 46 | + label: Actual Behavior |
| 47 | + description: What actually happened? |
| 48 | + placeholder: "Example - TypeError: 'NoneType' object is not iterable when calling agent.register_tool()" |
| 49 | + validations: |
| 50 | + required: false |
| 51 | + |
| 52 | + - type: textarea |
| 53 | + id: reproduction-steps |
| 54 | + attributes: |
| 55 | + label: Steps to Reproduce |
| 56 | + description: Provide clear, step-by-step instructions to reproduce the bug. |
| 57 | + placeholder: | |
| 58 | + 1. Install openhands-sdk using pip |
| 59 | + 2. Import and create an agent instance |
| 60 | + 3. Define a custom tool function |
| 61 | + 4. Call agent.register_tool(custom_tool) |
| 62 | + 5. Error appears |
| 63 | + validations: |
| 64 | + required: false |
| 65 | + |
| 66 | + - type: input |
| 67 | + id: installation |
| 68 | + attributes: |
| 69 | + label: Installation Method |
| 70 | + description: How did you install the OpenHands SDK? |
| 71 | + placeholder: ex. pip install openhands-sdk, uv pip install openhands-sdk, pip install -e ., etc. |
| 72 | + |
| 73 | + - type: input |
| 74 | + id: installation-other |
| 75 | + attributes: |
| 76 | + label: If you selected "Other", please specify |
| 77 | + description: Describe your installation method |
| 78 | + placeholder: ex. Poetry, conda, custom setup, etc. |
| 79 | + |
| 80 | + - type: input |
| 81 | + id: sdk-version |
| 82 | + attributes: |
| 83 | + label: SDK Version |
| 84 | + description: What version are you using? Check with `pip show openhands-sdk` or similar for other packages. |
| 85 | + placeholder: ex. 0.1.0, 0.2.0, main branch, commit hash, etc. |
| 86 | + validations: |
| 87 | + required: false |
| 88 | + |
| 89 | + - type: checkboxes |
| 90 | + id: version-confirmation |
| 91 | + attributes: |
| 92 | + label: Version Confirmation |
| 93 | + description: Bugs on older versions may already be fixed. Please upgrade before submitting. |
| 94 | + options: |
| 95 | + - label: I have confirmed this bug exists on the LATEST version of OpenHands SDK |
| 96 | + required: false |
| 97 | + |
| 98 | + - type: input |
| 99 | + id: python-version |
| 100 | + attributes: |
| 101 | + label: Python Version |
| 102 | + description: Which Python version are you using? |
| 103 | + placeholder: ex. 3.10.12, 3.11.5, 3.12.0 |
| 104 | + validations: |
| 105 | + required: false |
| 106 | + |
| 107 | + - type: input |
| 108 | + id: model-name |
| 109 | + attributes: |
| 110 | + label: Model Name (if applicable) |
| 111 | + description: Which model(s) are you using? |
| 112 | + placeholder: ex. gpt-4o, claude-3-5-sonnet-20241022, openrouter/deepseek-r1, etc. |
| 113 | + validations: |
| 114 | + required: false |
| 115 | + |
| 116 | + - type: dropdown |
| 117 | + id: os |
| 118 | + attributes: |
| 119 | + label: Operating System |
| 120 | + options: |
| 121 | + - MacOS |
| 122 | + - Linux |
| 123 | + - WSL on Windows |
| 124 | + - Windows |
| 125 | + - Other |
| 126 | + validations: |
| 127 | + required: false |
| 128 | + |
| 129 | + - type: textarea |
| 130 | + id: logs |
| 131 | + attributes: |
| 132 | + label: Logs and Error Messages |
| 133 | + description: | |
| 134 | + **Paste relevant logs, error messages, or stack traces.** Use code blocks (```) for formatting. |
| 135 | +
|
| 136 | + Include full stack traces when available. |
| 137 | + placeholder: | |
| 138 | + ``` |
| 139 | + Paste error logs here |
| 140 | + ``` |
| 141 | +
|
| 142 | + - type: textarea |
| 143 | + id: code-sample |
| 144 | + attributes: |
| 145 | + label: Minimal Code Sample |
| 146 | + description: | |
| 147 | + If possible, provide a minimal code sample that reproduces the issue. |
| 148 | + placeholder: | |
| 149 | + ```python |
| 150 | + from openhands.sdk import Agent |
| 151 | +
|
| 152 | + # Your minimal reproducible code here |
| 153 | + ``` |
| 154 | +
|
| 155 | + - type: textarea |
| 156 | + id: additional-context |
| 157 | + attributes: |
| 158 | + label: Screenshots and Additional Context |
| 159 | + description: | |
| 160 | + Add screenshots, environment details, dependency versions, or other context that helps explain the issue. |
| 161 | +
|
| 162 | + placeholder: Drag and drop screenshots here, paste links, or add additional context. |
| 163 | + |
| 164 | + - type: markdown |
| 165 | + attributes: |
| 166 | + value: | |
| 167 | + --- |
| 168 | + **Note:** Please help us help you! Well-documented bugs are easier to reproduce and fix. Thank you for your understanding! |
0 commit comments