chore(llm): refresh defaults to match deployed Jetson backend #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "chore/llm-defaults-jetson"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
scripts/llm.pydefaulted toAI_PROVIDER=anthropic,AI_MODEL=qwen-light(ollama), and the dead.20Jetson IP — none of which match how the CI workflows and ci-ai-bot actually run it.AI_PROVIDER=ollama,AI_MODEL=coder(qwen2.5-coder:7b),AI_BASE_URL=http://192.168.178.103:11434/v1..20reference).Verification
python3 -m py_compile scripts/llm.pypasses..gitea/workflows/,workflows/*.example.yml,bot/, and ansible-eulernest'sdocker-compose.yml.j2/group_vars/pi/vars.yml— all setAI_PROVIDER/AI_MODEL/AI_BASE_URLexplicitly via env, so this default change is purely cosmetic for them and only affects runs with no env vars set.Test plan
- .gitea/workflows/cd.yml: on push to main (bot/** or scripts/**), build ci-ai-bot:latest on the Pi runner via DooD and force-recreate the container with docker compose (no registry push needed) - reusable-{ai-review,commands,security}.yml: replace hardcoded 192.168.178.103:11434 with ${{ vars.JETSON_OLLAMA_URL }} (org variable set in conformallab → fallback to old IP if variable is missing) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>