mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
feat: conditionally include diagram in output example
This commit is contained in:
@ -60,6 +60,14 @@ type:
|
|||||||
- ...
|
- ...
|
||||||
description: |
|
description: |
|
||||||
...
|
...
|
||||||
|
{%- if add_diagram %}
|
||||||
|
diagram: |
|
||||||
|
sequenceDiagram
|
||||||
|
participant A as ComponentA
|
||||||
|
participant B as ComponentB
|
||||||
|
A->>B: functionCall()
|
||||||
|
B-->>A: response
|
||||||
|
{%- endif %}
|
||||||
title: |
|
title: |
|
||||||
...
|
...
|
||||||
{%- if enable_semantic_files_types %}
|
{%- if enable_semantic_files_types %}
|
||||||
@ -141,6 +149,14 @@ type:
|
|||||||
- ...
|
- ...
|
||||||
description: |
|
description: |
|
||||||
...
|
...
|
||||||
|
{%- if add_diagram %}
|
||||||
|
diagram: |
|
||||||
|
sequenceDiagram
|
||||||
|
participant A as ComponentA
|
||||||
|
participant B as ComponentB
|
||||||
|
A->>B: functionCall()
|
||||||
|
B-->>A: response
|
||||||
|
{%- endif %}
|
||||||
title: |
|
title: |
|
||||||
...
|
...
|
||||||
{%- if enable_semantic_files_types %}
|
{%- if enable_semantic_files_types %}
|
||||||
|
Reference in New Issue
Block a user