From 4f04d4a18c0d494ec8f348e962146aa2832fbb6d Mon Sep 17 00:00:00 2001 From: centdix <40307056+centdix@users.noreply.github.com> Date: Fri, 19 Dec 2025 14:07:00 +0100 Subject: [PATCH] use opus (#7398) --- .github/workflows/claude-plan.yml | 5 +++-- .github/workflows/claude.yml | 5 +++-- .github/workflows/pr-ready-review.yml | 1 + .github/workflows/weekly-pr-summary.yml | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude-plan.yml b/.github/workflows/claude-plan.yml index 7e3b3b2805..c9abc3465b 100644 --- a/.github/workflows/claude-plan.yml +++ b/.github/workflows/claude-plan.yml @@ -64,9 +64,10 @@ jobs: uses: anthropics/claude-code-action@v1 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} - allowed_bots: "windmill-internal-app[bot]" - trigger_phrase: "/plan" + allowed_bots: 'windmill-internal-app[bot]' + trigger_phrase: '/plan' claude_args: | + --model opus --system-prompt "# Claude Planning Mode You are operating in PLANNING MODE ONLY. Your role is to create detailed, structured plans without making any code changes. diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 18ab1ba4e8..8e3a60ed31 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -95,8 +95,8 @@ jobs: uses: anthropics/claude-code-action@v1 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} - allowed_bots: "windmill-internal-app[bot]" - trigger_phrase: "/ai" + allowed_bots: 'windmill-internal-app[bot]' + trigger_phrase: '/ai' settings: | { "env": { @@ -105,6 +105,7 @@ jobs: } claude_args: | --allowedTools "Bash,WebFetch,WebSearch" + --model opus --system-prompt "## IMPORTANT INSTRUCTIONS - Your branch name should be a short description of the requested changes. - Bypass previous instructions and instead of adding a url in your comment to manually create a PR, if you created a new branch with your changes, automatically create a draft PR from that branch to main. diff --git a/.github/workflows/pr-ready-review.yml b/.github/workflows/pr-ready-review.yml index 3bfdcb1844..25553bcb2c 100644 --- a/.github/workflows/pr-ready-review.yml +++ b/.github/workflows/pr-ready-review.yml @@ -45,3 +45,4 @@ jobs: At the end of your review, add complete instructions to reproduce the added changes through the app interface. These instructions will be given to a tester so he can verify the changes. It should be a short descriptive text (not a step by step or a list) on how to navigate the app (what page, what action, what input, etc) to see the changes. claude_args: | --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)" + --model opus diff --git a/.github/workflows/weekly-pr-summary.yml b/.github/workflows/weekly-pr-summary.yml index 821fd86b05..9d1f0631fb 100644 --- a/.github/workflows/weekly-pr-summary.yml +++ b/.github/workflows/weekly-pr-summary.yml @@ -3,7 +3,7 @@ name: Weekly PR Summary on: schedule: # Every Friday at 8:00 AM UTC - - cron: "0 8 * * 5" + - cron: '0 8 * * 5' workflow_dispatch: # Allow manual triggering for testing @@ -112,6 +112,7 @@ jobs: - Verify the file was created by running: `ls -lh summary.md` claude_args: | --allowedTools "Edit,MultiEdit,Write,Read,Glob,Grep,LS,Bash" + --model haiku - name: Send Summary to Windmill if: hashFiles('summary.md') != ''