Skip to content

Spec: Model configuration page — Default preset, multi-select sub models, Bot runtime split #4860

Open

Description

@DoodleBears

Why

Today, choosing models is split across two Bot settings pages:

  • Models & execution (模型与运行) has a global default main/sub model, mixed in with execution settings.
  • Model Presets (模型预设) holds the presets.

A default main+sub pair is already a preset, so the product has two ways to say the same thing. The model pickers also differ between surfaces: only the preset editor shows the provider rail. That picker work is a separate bug fix, on branch fix/model-picker-unify.

Decisions (Vain, 2026-11-21)

  1. The global default is a preset. A pinned, undeletable "Default" (默认) preset sits at the top of the list, and new Bots use it. There is no separate default main/sub setting.
  2. Sub (task) models can be multi-select in this round. One choice is marked default, with its reasoning level.

Target structure

Model providers (模型提供商)

Unchanged: API keys and subscription accounts.

Model configuration (模型配置), renamed from Model Presets

  1. Default preset
    • Pinned and cannot be deleted.
    • Onboarding stays simple. The user picks one model, which fills the Default preset with main = sub. Sub follows main until the user sets it.
  2. Presets
    • Main: one choice, either a model or a Routing Group.
    • Sub: one or more choices, each a model or a Routing Group. One is marked default, with its reasoning level.
    • The orchestrator session creates assignment sessions. It uses the default sub unless it picks another allowed sub.
    • With no sub set, sub follows main.
  3. Routing Groups
    • An ordered fallback chain of models, which can be used wherever a model can be chosen (main or any sub).
    • A single model cannot fall back once its quota runs out. A Routing Group can.

Bot runtime (Bot 运行), renamed from Models & execution

Runtime logic only:

  • orchestrator and assignment session behaviour
  • default Bot mode
  • context compression
  • run settings

All model choices move to Model configuration.

Slices (proposal)

  • S1 Data
    • The Default preset becomes a real preset.
    • Migrate the existing global default main/sub into it. This is a one-way door: write the migration with a dry-run and tests.
    • Bots without an explicit preset resolve to Default.
  • S2 Sub multi-select (Host)
  • S3 UI
    • Rename both pages and move the default model UI into Model configuration.
    • Build the preset editor with main plus a multi-select sub and a default marker. Use the unified picker everywhere.
  • S4 Onboarding
    • The model step writes the Default preset (one model).
    • Keep the step to a single choice.
  • S5 CLI parity
    • deepseekbot commands for the Default preset, sub choices and the default sub.
    • Update the docs and glossary.

Related: #4657 (unified model providers), #4859, fix/model-picker-unify.

Activity

  1. added this to the Host & AX Backlog milestone on Nov 21, 2026
  2. DoodleBears commented on Nov 21, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex
    • Task: codex/local/01a1ff8d-13fc-7d12-977d-1395061bf087 (BotHarness task)
    • Issue scope: S1 Default preset persistence, resolution, migration and CLI parity
    • Branch: feat/4860-default-preset
    • Started: 2026-11-21 19:22 UTC
    • State: active
  3. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 21, 2026
  4. DoodleBears commented on Nov 21, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

  5. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 21, 2026
  6. DoodleBears commented on Nov 21, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

  7. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 21, 2026
  8. DoodleBears commented on Nov 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a20074-f937-7ae0-9be4-e63416654f05
    • State: completed
    • PR: feat(models): make the global default a pinned Default preset (#4860 S1) #4917
    • Head: 6b612d5aff4a26cd3529cc964066c7b6d166d097
    • Verification: Assignment inheritance regressions passed. Isolated Tob configure, read, approve and model approval journeys passed. Build, lint, typecheck, docs and supplementary checks passed. Two of the 374-file CI-plan run's tests timed out and passed on a targeted retry. The PR Verification section records each mapped feature and the partial discovery run.
    • Resources: Both isolated Hosts stopped and both loopback ports released.
  9. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 22, 2026
  10. DoodleBears commented on Nov 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

  11. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 22, 2026
  12. DoodleBears commented on Nov 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a200ad-b914-7862-851b-85de866aabab
    • State: completed
    • PR: feat(models): make the global default a pinned Default preset (#4860 S1) #4917
    • Head: dd394a3182a0bccb3396dbe723990712eb8b53da
    • Resolved all 12 requested review threads. Lint, workspace typecheck, build, docs and both candidate Tob journeys passed. The CI-selected batches ran with two workers. The updated onboarding suite passed its targeted rerun.
    • M15 scenario C passed 62 assertions on the final head. The isolated Hosts exited and the loopback port was released.
  13. 25 remaining items

  14. DoodleBears commented on Nov 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a2042d-416b-73e2-900f-084140af0de5
    • State: handed-off
    • PR: feat(host-client): shared Task model list helpers for mobile (#4860 S3c) #4964
    • Head: 3d6589aff493b4bf0884dcbaad83630fc16c4ccd
    • Scope: Shared Task model editing, Bot and preset writes, picker data for mobile, and desktop handler consolidation. The route regression test covers an unlisted Default preset group while the Bot displays a direct main model.
    • Verification: On the integration head, 780 CI-selected files ran locally and GitHub CI passed. Four locally timed-out Core suites passed on default-timeout retries, and Team Memory passed all six tests with a 60-second timeout. The final route fix passed 367 tests across its 31 CI-selected files with one configured skip. Workspace typecheck and lint passed on the final head. GitHub checks are running for that head.
    • Remaining scope: Mobile screen wiring and Human review.
  15. DoodleBears commented on Nov 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

  16. DoodleBears commented on Nov 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a204b2-980a-7741-b08d-68d99381d488
    • State: handed-off
    • PR: chore(mobile): remove legacy Task model pickers (#4860) #4972 at 83faf7ef0ee8b0d3e20a4c06b7bfb923c7beec7c
    • Scope: Removed the mobile reasoning-level links component, its en/zh copy and unused picker-launch code. Expo Router still resolves direct links to the four legacy fields. Desktop Remote Host Settings still uses the shared Assignment writes.
    • Verification: All 198 CI-selected test files passed across four two-worker batches, with the Settings batch rerun after feat(mobile): Model configuration and Task model list (#4860 S3c) #4970 corrected its stale test label. Four focused model settings suites, workspace typecheck and lint passed. GitHub checks and review are pending.
  17. DoodleBears commented on Nov 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a204b2-980a-7741-b08d-68d99381d488
    • State: handed-off
    • PR: chore(mobile): remove legacy Task model pickers (#4860) #4972 at 2e193f334109232b27deccd1f6fa65579798beef
    • The follow-up routes retired mobile picker fields to the linked Bot or preset editor without a write on entry. It deletes the retired screens and mobile-only legacy writers. The four Assignment writes used by Desktop Remote Host Settings remain available.
    • Verification: The full local CI plan ran 2,080 files in sequential batches. After isolated retries, 2,056 passed and 24 were skipped. The docs checks passed. Ten focused suites, root and mobile typechecks, and lint passed after the final rebase. The PR records the pending visual evidence and reproduction links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions