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: |