From 783c9ccda369fe5ec05ea5085488998de125045c Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Sun, 18 Oct 2026 17:18:54 +0200 Subject: [PATCH] fix(ci): install opencode v2 for the review job The classic installer (opencode.ai/install) ships only OpenCode 1.x - v1.19.3 on arm64 - which cannot resolve model variants and failed with ProviderModelNotFoundError for deepseek-v4-pro#max. Use the v2 installer (currently v2.0.32, same version as local dev); verified working in a fresh arm64 container with key-only auth. --- .gitea/workflows/pr-checker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pr-checker.yml b/.gitea/workflows/pr-checker.yml index c7c65cc..2881863 100644 --- a/.gitea/workflows/pr-checker.yml +++ b/.gitea/workflows/pr-checker.yml @@ -215,10 +215,10 @@ jobs: fetch-depth: 0 - name: Install opencode CLI - run: curl -fsSL https://opencode.ai/install | bash - env: - # pin the version for reproducible CI, e.g. v1.0.0 - OPENCODE_VERSION: latest + run: curl -fsSL https://opencode.ai/v2/install | bash + # v2 installer is required: the classic /install URL ships only + # OpenCode 1.x (resolved to v1.19.3 on arm64), which cannot resolve + # model variants like "#max" and failed with ProviderModelNotFoundError - name: Get PR diff run: |