mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 14:04:41 -07:00
fix(dedup): clarify tool usage for logging output
This commit is contained in:
@@ -123,7 +123,7 @@ jobs:
|
|||||||
- The repository is ${{ github.repository }} and the issue number is ${{ github.event.issue.number }}.
|
- The repository is ${{ github.repository }} and the issue number is ${{ github.event.issue.number }}.
|
||||||
- Use the `duplicates` tool with the `repo` and `issue_number` to find potential duplicates for the current issue. Do not use the `threshold` parameter.
|
- Use the `duplicates` tool with the `repo` and `issue_number` to find potential duplicates for the current issue. Do not use the `threshold` parameter.
|
||||||
- If no duplicates are found, you are done.
|
- If no duplicates are found, you are done.
|
||||||
- Print the JSON output from the `duplicates` tool to the logs.
|
- Use the `echo` command to print the JSON output from the `duplicates` tool to the logs.
|
||||||
2. **Refine Duplicates List (if necessary):**
|
2. **Refine Duplicates List (if necessary):**
|
||||||
- If the `duplicates` tool returns between 1 and 14 results, you must refine the list.
|
- If the `duplicates` tool returns between 1 and 14 results, you must refine the list.
|
||||||
- For each potential duplicate issue, run `gh issue view <issue-number> --json title,body,comments` to fetch its content.
|
- For each potential duplicate issue, run `gh issue view <issue-number> --json title,body,comments` to fetch its content.
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ jobs:
|
|||||||
|
|
||||||
1. **Extract Repository Information:** The repository is ${{ github.repository }}.
|
1. **Extract Repository Information:** The repository is ${{ github.repository }}.
|
||||||
2. **Refresh Embeddings:** Call the `refresh` tool with the correct `repo`. Do not use the `force` parameter.
|
2. **Refresh Embeddings:** Call the `refresh` tool with the correct `repo`. Do not use the `force` parameter.
|
||||||
3. **Log Output:** Print the JSON output from the `refresh` tool to the logs.
|
3. **Log Output:** Use the `echo` command to print the JSON output from the `refresh` tool to the logs.
|
||||||
|
|
||||||
## Guidelines
|
## Guidelines
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user