diff --git a/.continue/assistants/main.yaml b/.continue/assistants/main.yaml new file mode 100644 index 000000000..ae9848604 --- /dev/null +++ b/.continue/assistants/main.yaml @@ -0,0 +1,8 @@ +name: Main +version: 0.0.1 +schema: v1 + +models: + - uses: anthropic/claude-3-7-sonnet + with: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} diff --git a/.github/workflows/review.yaml b/.github/workflows/review.yaml index eeb9be528..47c592172 100644 --- a/.github/workflows/review.yaml +++ b/.github/workflows/review.yaml @@ -26,7 +26,7 @@ jobs: run: npm list -g @continuedev/cli && npm list -g @continuedev/hub - name: Run Continue CLI - run: npx continue-cli --assistant continuedev/continue-code-review-assistant --headless "/whoami" - # run: npx continue-cli --assistant continuedev/continue-code-review-assistant --headless "Please review the last changes to this codebase and provide some feedback. Then, if the changes had problems that indicate they should not be merged into production, then please call the 'exit' tool to fail the GitHub Action." + # run: npx continue-cli --assistant ./.continue/assistants/main.yaml --headless "/whoami" + run: npx continue-cli --assistant ./.continue/assistants/main.yaml --headless "Please review the last changes to this codebase and provide some feedback. Then, if the changes had problems that indicate they should not be merged into production, then please call the 'exit' tool to fail the GitHub Action." env: CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }}