diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1140c79..5f214e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,7 +62,7 @@ jobs: OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} AWS_BEARER_TOKEN_BEDROCK: ${{ secrets.AWS_BEARER_TOKEN_BEDROCK }} AWS_REGION: us-east-1 - BEDROCK_MODEL_ID: us.anthropic.claude-opus-4-6-v1 + BEDROCK_MODEL_ID: us.anthropic.claude-sonnet-4-6 VERTEX_SERVICE_ACCOUNT_JSON: ${{ secrets.VERTEX_SERVICE_ACCOUNT_JSON }} GOOGLE_CLOUD_PROJECT: pullfrog VERTEX_LOCATION: global diff --git a/test/agnostic/byokFallback.ts b/test/agnostic/byokFallback.ts index d487df3..c8df3c9 100644 --- a/test/agnostic/byokFallback.ts +++ b/test/agnostic/byokFallback.ts @@ -3,7 +3,7 @@ import { defineFixture, getAgentOutput } from "../utils.ts"; /** * BYOK-no-keys fallback test — proves that an account configured for a - * BYOK model (here: `anthropic/claude-opus`) but with no provider API + * BYOK model (here: `moonshotai/kimi-k2`) but with no provider API * keys present in the runner env still gets a successful run by falling * back to a free OpenCode model. * @@ -59,10 +59,10 @@ export const test: TestRunnerOptions = { BEDROCK_MODEL_ID: "", // configure a model that requires a BYOK key — the fallback only // engages when there's a configured model whose provider key is - // absent, so we have to pin one. anthropic/claude-opus is the - // most common first-run choice (it's the catalog "preferred" for - // the anthropic provider). - PULLFROG_MODEL: "anthropic/claude-opus", + // absent, so we have to pin one. any BYOK alias works; we pick + // a cheap non-Anthropic model so the test doesn't burn opus + // credits if the fallback ever regresses. + PULLFROG_MODEL: "moonshotai/kimi-k2", }, tags: ["agnostic"], coverage: [ diff --git a/test/run.ts b/test/run.ts index 86898ab..beafa71 100644 --- a/test/run.ts +++ b/test/run.ts @@ -312,7 +312,7 @@ async function runTestForAgent(ctx: RunContext): Promise { } else { const defaultModels: Record = { claude: "anthropic/claude-sonnet-4-6", - opencode: "anthropic/claude-sonnet-4-6", + opencode: "moonshotai/kimi-k2", }; const model = defaultModels[ctx.agent]; if (model) {