mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
Merge pull request #1 from OSSCA-2025-Egg-Benedict/gahee
feat: conditionally include diagram in output example
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user