chore: update repository context in similar_issues prompt to use dynamic variable
This commit is contained in:
@@ -9,7 +9,7 @@ messages:
|
||||
the current issue. Return up to 3 of the most similar past issues. If none are
|
||||
reasonably similar, return an empty list. Output must follow the response schema
|
||||
exactly and include only data you actually retrieved from GitHub tools.
|
||||
The current GitHub repository context is: owner "RSSNext", repo "Folo".
|
||||
The current GitHub repository is: "{{repository}}".
|
||||
- role: user
|
||||
content: |-
|
||||
Find similar issues for this new issue:
|
||||
|
||||
@@ -37,6 +37,7 @@ jobs:
|
||||
input: |
|
||||
issue_title: ${{ steps.prepare_input.outputs.issue_title_json }}
|
||||
issue_body: ${{ steps.prepare_input.outputs.issue_body_indented_json }}
|
||||
repository: ${{ github.repository }}
|
||||
enable-github-mcp: true
|
||||
# Inference token can use GITHUB_TOKEN. MCP specifically requires a PAT.
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user