pi: cleanup model usage #1313

Merged
JakeHillion merged 1 commits from jj/wprokznpyxst into main 2026-08-26 20:06:45 +01:00
Owner

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
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
JakeHillion added 1 commit 2026-08-26 20:03:31 +01:00
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.
a49f616d61
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
JakeHillion scheduled this pull request to auto merge when all checks succeed 2026-08-26 20:06:43 +01:00
JakeHillion merged commit a49f616d61 into main 2026-08-26 20:06:45 +01:00
JakeHillion deleted branch jj/wprokznpyxst 2026-08-26 20:06:48 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JakeHillion/nixos#1313