crooked-sandwich-78223
06/25/2025, 4:55 PMwooden-umbrella-84098
06/25/2025, 4:58 PMcrooked-sandwich-78223
06/25/2025, 5:01 PMmost-glass-98046
06/25/2025, 5:01 PMcrooked-sandwich-78223
06/25/2025, 5:08 PMwooden-umbrella-84098
06/25/2025, 5:09 PMwooden-umbrella-84098
06/25/2025, 5:09 PMcrooked-sandwich-78223
06/25/2025, 5:15 PMcrooked-sandwich-78223
06/25/2025, 5:19 PMchilly-france-44439
06/25/2025, 5:32 PMopenhands/integrations/templates/resolver/github/issue_labeled_prompt.j2 to follow issue_labeled_conversation_instructions.j2 more closely. The labeled conversation instruction has instruction to tell the agent to use Github API.
We should also update the same thing for gitlab issue_labeled_prompt.
@nutritious-balloon-65098 please help fixnarrow-agent-26548
06/25/2025, 5:33 PMnarrow-agent-26548
06/25/2025, 5:37 PMopenhands/integrations/templates/resolver/github/issue_labeled_prompt.j2 to include "Read the issue body and comments using the Github API"
• Updated openhands/integrations/templates/resolver/gitlab/issue_labeled_prompt.j2 to include "Read the issue body and comments using the GitLab API"
• Both templates now follow their respective conversation_instructions.j2 patterns with comprehensive testing and PR/MR creation guidelines
Problem Solved:
This fixes the issue where agents would get 404 errors when trying to access private repository issues because they weren't instructed to use the GitHub/GitLab APIs with proper authentication tokens.
Pull Request Created:
https://github.com/All-Hands-AI/OpenHands/pull/9358
The changes are concise, targeted, and should resolve the reported issue where agents need explicit instruction to use environment variables like $GITHUB_TOKEN to access private repository content.