Skip to content

Commit 60a325f

Browse files
authored
Merge pull request #37 from meta-llama/fix_issue_template
fix: update issue templates for bug reports and feature requests
2 parents c63e7a4 + bfeee03 commit 60a325f

File tree

3 files changed

+57
-69
lines changed

3 files changed

+57
-69
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 33 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,61 @@
11
name: 🐛 Bug Report
2-
description: Create a report to help us reproduce and fix the bug
2+
description: Report a bug to help us improve llama-prompt-ops
33
labels: ["bug"]
44
body:
55
- type: markdown
66
attributes:
77
value: >
8-
#### Before submitting a bug, please make sure the issue hasn't been already addressed by searching through [the
9-
existing and past issues](https://github.com/meta-llama/llama-stack/issues).
8+
Thanks for taking the time to report a bug! Please search [existing issues](https://github.com/justinai/llama-prompt-ops/issues) first to avoid duplicates.
109
1110
- type: textarea
12-
id: system-info
11+
id: bug-description
1312
attributes:
14-
label: System Info
15-
description: |
16-
Please share your system info with us. You can use the following command to capture your environment information
17-
python -m "torch.utils.collect_env"
18-
13+
label: What happened?
14+
description: A clear description of the bug and what you expected to happen instead.
1915
placeholder: |
20-
PyTorch version, CUDA version, GPU type, #num of GPUs...
16+
I was trying to optimize prompts using the facility dataset, but...
17+
18+
Expected: The optimization should complete successfully
19+
Actual: Got an error about missing configuration
2120
validations:
2221
required: true
2322

24-
- type: checkboxes
25-
id: information-scripts-examples
26-
attributes:
27-
label: Information
28-
description: 'The problem arises when using:'
29-
options:
30-
- label: "The official example scripts"
31-
- label: "My own modified scripts"
32-
3323
- type: textarea
34-
id: bug-description
24+
id: reproduction
3525
attributes:
36-
label: 🐛 Describe the bug
37-
description: |
38-
Please provide a clear and concise description of what the bug is.
39-
40-
Please also paste or describe the results you observe instead of the expected results.
26+
label: How to reproduce
27+
description: Steps to reproduce the issue, including any commands or code.
4128
placeholder: |
42-
A clear and concise description of what the bug is.
29+
1. Run `llama-prompt-ops optimize --config configs/facility.yaml`
30+
2. See error...
4331
44-
```llama stack
45-
# Command that you used for running the examples
32+
```bash
33+
# Your command here
4634
```
47-
Description of the results
4835
validations:
4936
required: true
5037

5138
- type: textarea
39+
id: environment
5240
attributes:
53-
label: Error logs
54-
description: |
55-
If you observe an error, please paste the error message including the **full** traceback of the exception. It may be relevant to wrap error messages in ```` ```triple quotes blocks``` ````.
56-
41+
label: Environment
42+
description: Your Python version and any relevant system info.
5743
placeholder: |
58-
```
59-
The error message you got, with the full traceback.
60-
```
61-
44+
- Python version: 3.9.0
45+
- llama-prompt-ops version: 0.0.8
46+
- OS: macOS 14.0
6247
validations:
63-
required: true
64-
48+
required: false
6549

6650
- type: textarea
67-
id: expected-behavior
68-
validations:
69-
required: true
70-
attributes:
71-
label: Expected behavior
72-
description: "A clear and concise description of what you would expect to happen."
73-
74-
- type: markdown
51+
id: error-logs
7552
attributes:
76-
value: >
77-
Thanks for contributing 🎉!
53+
label: Error logs (if any)
54+
description: Paste any error messages or stack traces.
55+
placeholder: |
56+
```
57+
Traceback (most recent call last):
58+
...
59+
```
60+
validations:
61+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ blank_issues_enabled: false
22

33
contact_links:
44
- name: Have you read the docs?
5-
url: https://llama-stack.readthedocs.io/en/latest/index.html
6-
about: Much help can be found in the docs
5+
url: https://github.com/justinai/llama-prompt-ops/blob/main/README.md
6+
about: Much help can be found in the README and documentation
77
- name: Start a discussion
8-
url: https://github.com/meta-llama/llama-stack/discussions/new
8+
url: https://github.com/justinai/llama-prompt-ops/discussions/new
99
about: Start a discussion on a topic
10-
- name: Chat on Discord
11-
url: https://discord.gg/llama-stack
12-
about: Maybe chatting with the community can help
Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,35 @@
1-
name: 🚀 Feature request
2-
description: Request a new llama-stack feature
1+
name: 🚀 Feature Request
2+
description: Suggest a new feature for llama-prompt-ops
33
labels: ["enhancement"]
44
body:
55
- type: textarea
6-
id: feature-pitch
6+
id: feature-description
77
attributes:
8-
label: 🚀 Describe the new functionality needed
9-
description: >
10-
A clear and concise description of _what_ needs to be built.
8+
label: What feature would you like?
9+
description: A clear description of the feature you'd like to see.
10+
placeholder: |
11+
I'd like to be able to...
12+
13+
This would help with...
1114
validations:
1215
required: true
1316

1417
- type: textarea
15-
id: feature-motivation
18+
id: use-case
1619
attributes:
17-
label: 💡 Why is this needed? What if we don't build it?
18-
description: >
19-
A clear and concise description of _why_ this functionality is needed.
20+
label: What's your use case?
21+
description: How would you use this feature? What problem does it solve?
22+
placeholder: |
23+
I'm working on optimizing prompts for customer support and need...
2024
validations:
2125
required: true
2226

2327
- type: textarea
24-
id: other-thoughts
28+
id: additional-context
2529
attributes:
26-
label: Other thoughts
27-
description: >
28-
Any thoughts about how this may result in complexity in the codebase, or other trade-offs.
30+
label: Additional context
31+
description: Any other details, examples, or screenshots that might help.
32+
placeholder: |
33+
Here's an example of what I'm trying to achieve...
34+
validations:
35+
required: false

0 commit comments

Comments
 (0)