From 45ff05c7fc5a667c4c55d0a3cff6856def91439e Mon Sep 17 00:00:00 2001 From: Will Chen Date: Fri, 29 Aug 2025 21:17:35 -0700 Subject: [PATCH] Switch to OpenAI GPT-5 bot (cheaper) (#1129) ## Summary by cubic Switches the duplicate-issues GitHub Action from anthropic/claude-sonnet-4-20250514 to openai/gpt-5 to reduce cost. Updates the workflow to use OPENAI_API_KEY instead of ANTHROPIC_API_KEY. --- .github/workflows/duplicate-issues.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/duplicate-issues.yml b/.github/workflows/duplicate-issues.yml index 8f69b97..35f560b 100644 --- a/.github/workflows/duplicate-issues.yml +++ b/.github/workflows/duplicate-issues.yml @@ -26,7 +26,7 @@ jobs: - name: Check for duplicate issues env: - ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} OPENCODE_PERMISSION: | { @@ -37,7 +37,7 @@ jobs: "webfetch": "deny" } run: | - opencode run -m anthropic/claude-sonnet-4-20250514 "A new issue has been created:' + opencode run -m openai/gpt-5 "A new issue has been created:' Issue number: ${{ github.event.issue.number }}