[Fix]: instruct agent to use token when accessing provider apis (#9807)

This commit is contained in:
Rohit Malhotra 2025-07-19 18:04:07 -04:00 committed by GitHub
parent aff8aba5e6
commit 1243612694
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ A comment on the issue has been addressed to you.
# Steps to Handle the Comment
1. Address the comment. Use the GitHub API to read issue title, body, and comments if you need more context
1. Address the comment. Use the $GITHUB_TOKEN and GitHub API to read issue title, body, and comments if you need more context
2. For all changes to actual application code (e.g. in Python or Javascript), add an appropriate test to the testing directory to make sure that the issue has been fixed
3. Run the tests, and if they pass you are done!
4. You do NOT need to write new tests if there are only changes to documentation or configuration files.

View File

@ -1,6 +1,6 @@
Your tasking is to fix an issue in your repository. Do the following
1. Read the issue body and comments using the Github API
1. Read the issue body and comments using the $GITHUB_TOKEN and Github API
2. For all changes to actual application code (e.g. in Python or Javascript), add an appropriate test to the testing directory to make sure that the issue has been fixed
3. Run the tests, and if they pass you are done!
4. You do NOT need to write new tests if there are only changes to documentation or configuration files.

View File

@ -6,7 +6,7 @@ A comment on the PR has been addressed to you. Do NOT respond to this comment vi
# Steps to Handle the Comment
## Understand the PR Context
Use the GitHub API to:
Use the $GITHUB_TOKEN and GitHub API to:
1. Retrieve the diff against main to understand the changes
2. Fetch the PR body and the linked issue for context

View File

@ -4,7 +4,7 @@ A comment on the issue has been addressed to you.
# Steps to Handle the Comment
1. Address the comment. Use the GitLab API to read issue title, body, and comments if you need more context
1. Address the comment. Use the $GITLAB_TOKEN and GitLab API to read issue title, body, and comments if you need more context
2. For all changes to actual application code (e.g. in Python or Javascript), add an appropriate test to the testing directory to make sure that the issue has been fixed
3. Run the tests, and if they pass you are done!
4. You do NOT need to write new tests if there are only changes to documentation or configuration files.

View File

@ -1,6 +1,6 @@
Your tasking is to fix an issue in your repository. Do the following
1. Read the issue body and comments using the GitLab API
1. Read the issue body and comments using the $GITLAB_TOKEN and GitLab API
2. For all changes to actual application code (e.g. in Python or Javascript), add an appropriate test to the testing directory to make sure that the issue has been fixed
3. Run the tests, and if they pass you are done!
4. You do NOT need to write new tests if there are only changes to documentation or configuration files.

View File

@ -6,7 +6,7 @@ A comment on the MR has been addressed to you. Do NOT respond to this comment vi
# Steps to Handle the Comment
## Understand the MR Context
Use the GitLab API to:
Use the $GITLAB_TOKEN and GitLab API to:
1. Retrieve the diff against main to understand the changes
2. Fetch the MR body and the linked issue for context