Skip to content

feat: Create basic SwarmFactory implementation #2

feat: Create basic SwarmFactory implementation

feat: Create basic SwarmFactory implementation #2

name: OpenHands Issue Resolver 🤖
on:
issues:
types: [labeled]
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
permissions:
contents: write
issues: write
pull-requests: write
jobs:
resolve:
runs-on: ubuntu-latest
if: |
(github.event_name == 'issues' && github.event.label.name == 'fix-me') ||
(contains(github.event.comment.body, '@openhands-agent'))
steps:
- uses: actions/checkout@v4
- name: OpenHands Magic ✨
uses: All-Hands-AI/OpenHands@main
with:
path: openhands/resolver
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LLM_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
LLM_MODEL: ${{ vars.LLM_MODEL || 'anthropic/claude-3-5-sonnet-20241022' }}
GITHUB_USERNAME: ${{ secrets.PAT_USERNAME }}
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}