From a55ddccafeaed5c8e33d8bf04c5efe2b0f123a2e Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 9 Nov 2026 13:19:03 +0100 Subject: [PATCH] ci(pullfrog): run gpt-sol at xhigh on the Codex subscription --- .github/workflows/pullfrog.yml | 37 ++++------------------------------ 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/.github/workflows/pullfrog.yml b/.github/workflows/pullfrog.yml index 7a4e152..3d6be8f 100644 --- a/.github/workflows/pullfrog.yml +++ b/.github/workflows/pullfrog.yml @@ -16,10 +16,7 @@ permissions: jobs: pullfrog: - runs-on: ubuntu-24.04 - env: - OPENAI_COMPATIBLE_BASE_URL: https://ai.onmax.me/v1 - OPENAI_COMPATIBLE_MODEL: gpt-6.1-sol + runs-on: ubuntu-latest permissions: id-token: write contents: read @@ -28,35 +25,9 @@ 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: Configure proxy access - run: | - cat > "$RUNNER_TEMP/pullfrog-opencode.json" <<'JSON' - {"provider":{"openai-compatible":{"options":{"headers":{"CF-Access-Client-Id":"{env:CF_ACCESS_CLIENT_ID}","CF-Access-Client-Secret":"{env:CF_ACCESS_CLIENT_SECRET}"}}}}} - JSON - name: Run agent - uses: pullfrog/pullfrog@ed800018463e1b84e8e3377f662173aed1da98b0 # v0.1.95 + uses: pullfrog/pullfrog@3c58d31073422cc1b9573f58b5dbadb7a4914715 # v0.1.123 with: prompt: ${{ inputs.prompt }} - model: openai-compatible/byok - env: - OPENAI_COMPATIBLE_API_KEY: ${{ secrets.CLIPROXY_API_KEY }} - OPENAI_COMPATIBLE_CONTEXT: "921000" - OPENAI_COMPATIBLE_MAX_OUTPUT: "128000" - OPENCODE_CONFIG: ${{ runner.temp }}/pullfrog-opencode.json - CF_ACCESS_CLIENT_ID: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_ID }} - CF_ACCESS_CLIENT_SECRET: ${{ secrets.CLIPROXY_CF_ACCESS_CLIENT_SECRET }} + model: openai/gpt-sol + effort: xhigh