pi: cleanup model usage #1313

Merged
JakeHillion merged 1 commits from jj/wprokznpyxst into main 2026-08-26 20:06:45 +01:00
1 Commits
Author SHA1 Message Date
JakeHillion a49f616d61 pi: cleanup model usage
commit-validation / validate-single-commit (pull_request) Successful in 7s
buildbot/nix-eval Build done. (617 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Restrict the model picker to just the three GPT-5.6 models plus DeepSeek,
make DeepSeek the default, and run the main agent's thinking at max.

- Set `enabledModels` so `/model` opens scoped to gpt-5.6-sol, gpt-5.6-terra,
  gpt-5.6-luna and deepseek/deepseek-v4-flash-0731 (Tab still reveals the full
  "all" list, so GPT stays selectable on demand).
- Made llm-proxy's DeepSeek model the default provider/model with
  `defaultThinkingLevel = "max"`, enabling `reasoning` and mapping the
  supported {low, high, max} effort levels while hiding the unsupported
  minimal/medium levels.
- Pinned the explore subagent to `:high` so exploration stays cheaper than the
  max-thinking main agent instead of inheriting the new default.

Defaulting to DeepSeek avoids spending on GPT unless explicitly chosen, while
the model-scoped thinking maps and per-agent thinking suffix keep deliberation
bounded. The compat/thinkingFormat change is scoped to the DeepSeek model so
future llm-proxy models are unaffected.

Test plan:
- CI
- Rebuild devbox hosts (bob, maverick, merlin, rooster) and verify `/model`
  scoped list, DeepSeek default at max, and explore running at high
2026-08-26 20:02:54 +01:00