generated from mathias/template-go-web
fix(ci): drop empty LOOP_MODEL env that blanked the model → LLM 400
`LOOP_MODEL: ${{ inputs.model }}` sets the env var to "" when no model input is
given. An env var set-but-empty is NOT unset, so it overrode loop.py's
berget/gemma4-31b default, and every agent call POSTed "model":"" → HTTP 400
Bad Request. The loop ran but optimized nothing (best == baseline, delta 0).
Real overrides already flow through the conditional `--model` arg, so this env
line was redundant as well as harmful. Remove it; loop.py's default applies.
This commit is contained in:
@@ -58,7 +58,6 @@ jobs:
|
||||
LITELLM_KEY: ${{ secrets.LITELLM_KEY }}
|
||||
LITELLM_BASE: ${{ secrets.LITELLM_BASE }}
|
||||
NTFY_URL: ${{ secrets.NTFY_URL }}
|
||||
LOOP_MODEL: ${{ inputs.model }}
|
||||
run: |
|
||||
ARGS="--run-dir runs/${{ steps.vars.outputs.rq_id }} --iters ${{ inputs.iters }}"
|
||||
[ -n "${{ inputs.model }}" ] && ARGS="$ARGS --model ${{ inputs.model }}"
|
||||
|
||||
Reference in New Issue
Block a user