From b63c7edaedd8df2709fb727e065f5e5f36028838 Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 25 Apr 2025 20:51:51 -0700 Subject: [PATCH] local assistant --- .continue/assistants/main.yaml | 8 ++++++++ .github/workflows/review.yaml | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .continue/assistants/main.yaml 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 }}