From 338bde1df3b4ab50cbe397b2cc426da0c76c7c31 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 10 Nov 2026 09:46:46 +0100 Subject: [PATCH 1/5] ci(pullfrog): run gpt-6.1-sol through CLIProxy again The Codex subscription stored in Pullfrog hit its usage limit, so every run fails before the agent starts. CLIProxy answers again, so runs go back to it. The Access headers now go through OPENAI_COMPATIBLE_HEADERS, which Pullfrog v0.1.123 reads, instead of an OpenCode config file. --- .github/workflows/pullfrog.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index 3d6be8f..51a55e3 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -17,6 +17,9 @@ permissions: jobs: pullfrog: runs-on: ubuntu-latest + env: + OPENAI_COMPATIBLE_BASE_URL: https://ai.onmax.me/v1 + OPENAI_COMPATIBLE_MODEL: gpt-6.1-sol permissions: id-token: write contents: read @@ -25,9 +28,30 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 1 + - name: Verify CLIProxy completion + env: + OPENAI_COMPATIBLE_API_KEY: ${{ secrets.CLIPROXY_API_KEY }} + CF_ACCESS_CLIENT_ID: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_ID }} + CF_ACCESS_CLIENT_SECRET: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_SECRET }} + run: | + response=$(curl --fail --silent --show-error --max-time 45 \ + --header "Authorization: Bearer $OPENAI_COMPATIBLE_API_KEY" \ + --header "CF-Access-Client-Id: $CF_ACCESS_CLIENT_ID" \ + --header "CF-Access-Client-Secret: $CF_ACCESS_CLIENT_SECRET" \ + --header 'Content-Type: application/json' \ + --data "$(jq -nc --arg model "$OPENAI_COMPATIBLE_MODEL" \ + '{model: $model, messages: [{role: "user", content: "Reply with exactly PROXY_OK."}], max_tokens: 32, stream: false}')" \ + "$OPENAI_COMPATIBLE_BASE_URL/chat/completions") + jq -e '.choices[0].message.content | contains("PROXY_OK")' <<< "$response" > /dev/null - name: Run agent uses: pullfrog/pullfrog@3c58d31073422cc1b9573f58b5dbadb7a4914715 # v0.1.123 with: prompt: ${{ inputs.prompt }} - model: openai/gpt-sol - effort: xhigh + model: openai-compatible/byok + env: + OPENAI_COMPATIBLE_API_KEY: ${{ secrets.CLIPROXY_API_KEY }} + OPENAI_COMPATIBLE_CONTEXT: '921000' + OPENAI_COMPATIBLE_MAX_OUTPUT: '128000' + OPENAI_COMPATIBLE_HEADERS: | + CF-Access-Client-Id: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_ID }} + CF-Access-Client-Secret: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_SECRET }} From ea0652d9cced03d1ed9d7510515db4cd5989125b Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 10 Nov 2026 10:07:31 +0100 Subject: [PATCH 2/5] ci(pullfrog): request xhigh effort Pullfrog lands the effort input on the variants OpenCode declares for the model, so without it runs fall back to medium. --- .github/workflows/pullfrog.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index 51a55e3..9c93054 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -48,6 +48,7 @@ jobs: with: prompt: ${{ inputs.prompt }} model: openai-compatible/byok + effort: xhigh env: OPENAI_COMPATIBLE_API_KEY: ${{ secrets.CLIPROXY_API_KEY }} OPENAI_COMPATIBLE_CONTEXT: '921000' From b50b1304701b84a0dcf95cdca4b777832d240cba Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 10 Nov 2026 10:10:57 +0100 Subject: [PATCH 3/5] ci(pullfrog): pin xhigh effort with the CLIProxy model suffix OpenCode declares only low to medium variants for the proxy model, so the effort input lands on medium. CLIProxy applies a (xhigh) suffix over the request's reasoning_effort. --- .github/workflows/pullfrog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index 9c93054..bf6c7c3 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest env: OPENAI_COMPATIBLE_BASE_URL: https://ai.onmax.me/v1 - OPENAI_COMPATIBLE_MODEL: gpt-6.1-sol + OPENAI_COMPATIBLE_MODEL: gpt-6.1-sol(xhigh) permissions: id-token: write contents: read From d35f26ede366bac0b86677e2f1af532ca9f30999 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 10 Nov 2026 10:16:33 +0100 Subject: [PATCH 4/5] style(ci): format the Pullfrog workflow --- .github/workflows/pullfrog.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index bf6c7c3..5ea6a42 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -51,8 +51,8 @@ jobs: effort: xhigh env: OPENAI_COMPATIBLE_API_KEY: ${{ secrets.CLIPROXY_API_KEY }} - OPENAI_COMPATIBLE_CONTEXT: '921000' - OPENAI_COMPATIBLE_MAX_OUTPUT: '128000' + OPENAI_COMPATIBLE_CONTEXT: "921000" + OPENAI_COMPATIBLE_MAX_OUTPUT: "128000" OPENAI_COMPATIBLE_HEADERS: | CF-Access-Client-Id: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_ID }} CF-Access-Client-Secret: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_SECRET }} From 1f879fa046ecaafe500f653a48354df03da800b0 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 10 Nov 2026 10:30:50 +0100 Subject: [PATCH 5/5] style(ci): leave the Pullfrog token limits unquoted for both formatters --- .github/workflows/pullfrog.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index 5ea6a42..ba9d1e5 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -51,8 +51,8 @@ jobs: effort: xhigh env: OPENAI_COMPATIBLE_API_KEY: ${{ secrets.CLIPROXY_API_KEY }} - OPENAI_COMPATIBLE_CONTEXT: "921000" - OPENAI_COMPATIBLE_MAX_OUTPUT: "128000" + OPENAI_COMPATIBLE_CONTEXT: 921000 + OPENAI_COMPATIBLE_MAX_OUTPUT: 128000 OPENAI_COMPATIBLE_HEADERS: | CF-Access-Client-Id: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_ID }} CF-Access-Client-Secret: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_SECRET }}