fix(triage): tune prompt to return json text and harden eval json extraction

This commit is contained in:
cocosheng-g
2026-02-03 19:55:00 -05:00
parent 5c2f477adf
commit d9a0e9b9c5
4 changed files with 32 additions and 14 deletions

View File

@@ -263,6 +263,7 @@ jobs:
- Do NOT include any introductory or concluding remarks, explanations, or additional text.
- Do NOT include any thoughts or reasoning outside the JSON block.
- Ensure the output is a single JSON object with a "labels_to_set" array.
- Return the JSON as your final text response. Do NOT use `run_shell_command` or `echo` to print it.
- name: 'Apply Labels to Issue'
if: |-

View File

@@ -221,6 +221,7 @@ jobs:
- Do NOT include any introductory or concluding remarks, explanations, or additional text.
- Do NOT include any thoughts or reasoning outside the JSON block.
- Ensure the output is a single JSON array of objects.
- Return the JSON as your final text response. Do NOT use `run_shell_command` or `echo` to print it.
- name: 'Apply Labels to Issues'
if: |-