mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
feat: conditionally include diagram in output example
This commit is contained in:
parent
e045617243
commit
16b9ccd025
1 changed files with 16 additions and 0 deletions
|
|
@ -60,6 +60,14 @@ type:
|
|||
- ...
|
||||
description: |
|
||||
...
|
||||
{%- if add_diagram %}
|
||||
diagram: |
|
||||
sequenceDiagram
|
||||
participant A as ComponentA
|
||||
participant B as ComponentB
|
||||
A->>B: functionCall()
|
||||
B-->>A: response
|
||||
{%- endif %}
|
||||
title: |
|
||||
...
|
||||
{%- if enable_semantic_files_types %}
|
||||
|
|
@ -141,6 +149,14 @@ type:
|
|||
- ...
|
||||
description: |
|
||||
...
|
||||
{%- if add_diagram %}
|
||||
diagram: |
|
||||
sequenceDiagram
|
||||
participant A as ComponentA
|
||||
participant B as ComponentB
|
||||
A->>B: functionCall()
|
||||
B-->>A: response
|
||||
{%- endif %}
|
||||
title: |
|
||||
...
|
||||
{%- if enable_semantic_files_types %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue