mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00
describe
This commit is contained in:
@ -31,9 +31,6 @@ Under the section 'pr_description', the [configuration file](./../pr_agent/setti
|
|||||||
|
|
||||||
markers enable to easily integrate user's content and auto-generated content, with a template-like mechanism.
|
markers enable to easily integrate user's content and auto-generated content, with a template-like mechanism.
|
||||||
|
|
||||||
- `use_description_markers`: if set to true, the tool will use markers template. It replaces every marker of the form `pr_agent:marker_name` with the relevant content. Default is false.
|
|
||||||
- `include_generated_by_header`: if set to true, the tool will add a dedicated header: 'Generated by PR Agent at ...' to any automatic content. Default is true.
|
|
||||||
|
|
||||||
For example, if the PR original description was:
|
For example, if the PR original description was:
|
||||||
```
|
```
|
||||||
User content...
|
User content...
|
||||||
@ -59,4 +56,9 @@ The marker `pr_agent:pr_type` will be replaced with the PR type, `pr_agent:summa
|
|||||||
|
|
||||||
==>
|
==>
|
||||||
|
|
||||||
<kbd><img src=./../pics/describe_markers_after.png width="768"></kbd>
|
<kbd><img src=./../pics/describe_markers_after.png width="768"></kbd>
|
||||||
|
|
||||||
|
##### Configuration params:
|
||||||
|
|
||||||
|
- `use_description_markers`: if set to true, the tool will use markers template. It replaces every marker of the form `pr_agent:marker_name` with the relevant content. Default is false.
|
||||||
|
- `include_generated_by_header`: if set to true, the tool will add a dedicated header: 'Generated by PR Agent at ...' to any automatic content. Default is true.
|
||||||
|
Reference in New Issue
Block a user