mirror of
https://github.com/mii443/rust-genai.git
synced 2025-08-23 00:35:33 +00:00
. update the bug_report.yaml
This commit is contained in:
54
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
54
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@ -16,56 +16,12 @@ body:
|
|||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
attributes:
|
attributes:
|
||||||
label: Command
|
label: Adapter
|
||||||
description: "`devai` command that triggered the bug"
|
description: The AdapterKind if known
|
||||||
placeholder: 'devai run {agent-name} -f {file-name} --verbose'
|
|
||||||
- type: input
|
- type: input
|
||||||
attributes:
|
attributes:
|
||||||
label: Error
|
label: Model
|
||||||
description: Error message, if any
|
description: The Model name if known
|
||||||
placeholder: 'Error: Rhai(ErrorArrayBounds(0, 0, 2:36))'
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Config
|
label: Suggested Resolution
|
||||||
description: 'Contents of ".devai/config.toml"'
|
|
||||||
value: |
|
|
||||||
[genai]
|
|
||||||
model = "gpt-4o"
|
|
||||||
|
|
||||||
[runtime]
|
|
||||||
# Default to 1 if absent
|
|
||||||
items_concurrency = 1
|
|
||||||
render: toml
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: Agent
|
|
||||||
description: 'Contents of "{{my-agent}}.md". Markdown will be escaped automatically.'
|
|
||||||
value: |
|
|
||||||
# Data
|
|
||||||
```rhai
|
|
||||||
let path = item.path;
|
|
||||||
// ...
|
|
||||||
```
|
|
||||||
|
|
||||||
# Instruction
|
|
||||||
|
|
||||||
- The user will provide good error messages
|
|
||||||
- The information provided by the user will be helpful for debugging issues
|
|
||||||
- ...
|
|
||||||
|
|
||||||
# Output
|
|
||||||
```rhai
|
|
||||||
// ...
|
|
||||||
```
|
|
||||||
render: md
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: Verbose output
|
|
||||||
description: 'Output of the command run (with ther verbose flag). The output will include the contents of your target file, so take care not to include any sensitive data.'
|
|
||||||
value: |
|
|
||||||
$ devai run proof-comments
|
|
||||||
Running agent command: proof-comments
|
|
||||||
from: .devai/defaults/proof-comments.md
|
|
||||||
with model: mistral:latest
|
|
||||||
# ...
|
|
||||||
render: fundamental
|
|
Reference in New Issue
Block a user