Skip to content

feat(models): prompt for reasoning level on DEFAULT assignments for all providers - #4390

Merged
Yeachan-Heo merged 1 commit into
devfrom
owner/pr-4387-default-thinking
Aug 12, 2026
Merged

feat(models): prompt for reasoning level on DEFAULT assignments for all providers#4390
Yeachan-Heo merged 1 commit into
devfrom
owner/pr-4387-default-thinking

Conversation

@Yeachan-Heo

@Yeachan-Heo Yeachan-Heo commented Aug 12, 2026

Copy link
Copy Markdown
Owner

What

Carries contributor PR #4387 onto current dev by cherry-picking Jason Lee's exact contributor commit 97bd828475095da585754622d4f2561f5c6ecc88, resolving only the real changelog and selector conflicts, and preserving the merged #4377 Grok 4.5/4.6 explicit-effort policy.

The shared model-assignment predicate now requires an explicit supported effort for every reasoning-capable DEFAULT assignment, so selector UI and argument-based /model behave consistently across providers. Existing explicit suffixes seed the selector and persist in modelRoles.default; non-reasoning assignments stay direct; provider-general role-less temporary switches stay direct; OpenAI/OpenAI-Codex and Grok provider-specific explicit-thinking behavior remains unchanged.

Contributor credit: @jason931225. Cherry-picked contributor commit: 97bd828475095da585754622d4f2561f5c6ecc88.

Why

PR #4387 incorrectly targets main. This dev-targeted owner branch contains one commit on current dev (8e5c0e8a63200dafaae9fde2b5826e030fe83cbd) and introduces no main-history or docs commits.

Testing

  • bun test packages/coding-agent/test/model-selector-role-badge-thinking.test.ts packages/coding-agent/test/model-selector-batch-thinking.test.ts packages/coding-agent/test/model-selector-controller-batch.test.ts packages/coding-agent/test/acp-builtins.test.ts — 128 pass, 0 fail
  • bunx biome check on every touched TypeScript test/source file — clean
  • bun --cwd=packages/coding-agent run check:types — clean
  • Full package check is blocked by unrelated pre-existing baseline lint findings in gajaessi-launcher-alias.test.ts, settings.ts, sdk/bus/index.ts, and sdk/bus/telegram-daemon.ts; the only touched-file formatter finding was fixed.

Exact-head evidence

  • Base: 8e5c0e8a63200dafaae9fde2b5826e030fe83cbd
  • Head: f8953e4563f382c8bd169bcfd175c43ec185f486
  • git rev-list --count origin/dev..HEAD = 1
  • git diff --name-status origin/dev...HEAD contains only the six coding-agent source/test/changelog files listed in this PR.

GJC verdict

gajae.pr-review-verdict.v1 merge-approved sha256:f8953e4563f382c8bd169bcfd175c43ec185f486 reviewer:architect evidence:https://github.com/Yeachan-Heo/gajae-code/actions/runs/31635092646

  • Target branch is dev
  • bun check passes (blocked only by unrelated baseline lint findings listed above)
  • Tested locally
  • CHANGELOG updated (if user-facing)
  • Verdict above matches the exact PR head, not an earlier commit

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

…ll providers

The model selector only opened the reasoning menu for the DEFAULT target
when the model's provider was openai/openai-codex. Assigning an Anthropic
reasoning model (e.g. claude-fable-5) to DEFAULT committed immediately
with a bare selector, so there was no way to pin an explicit effort from
the picker: the assignment silently inherited defaultThinkingLevel and
re-picking stripped any hand-configured :level suffix from
modelRoles.default.

requiresExplicitThinkingChoice now returns true for the DEFAULT target
whenever the model is reasoning-capable, matching the existing role-agent
behavior. The selector-controller already composes the :level suffix and
applies session.setThinkingLevel for default assignments, and session
startup already honors an explicit suffix on the remembered default
(explicitThinkingLevel), so the choice persists across restarts with no
further changes. Non-reasoning models and temporary (role-less) model
switches keep their current no-prompt behavior.
@Yeachan-Heo
Yeachan-Heo force-pushed the owner/pr-4387-default-thinking branch from b9cff01 to f8953e4 Compare August 12, 2026 19:56
@Yeachan-Heo
Yeachan-Heo requested a review from probepark August 12, 2026 20:19
@Yeachan-Heo

Copy link
Copy Markdown
Owner Author

Independent exact-head review requested from @probepark. Review target: f8953e4563f382c8bd169bcfd175c43ec185f486; exact-head CI is green: https://github.com/Yeachan-Heo/gajae-code/actions/runs/31635092646. Please review selector UI and argument /model consistency, Grok/OpenAI preservation, provider-general DEFAULT effort persistence/restart, non-reasoning/cancel/badge behavior, and role-less temporary switching.

@Yeachan-Heo

Copy link
Copy Markdown
Owner Author

Also requesting exact-head review from @HaD0Yun and @IYENTeam because merge policy requires an independent latest-head verdict. Head and CI evidence remain unchanged.

@Yeachan-Heo

Copy link
Copy Markdown
Owner Author

Independent exact-head reviews recovered and clear. Architect verdict: gajae.pr-review-verdict.v1 merge-approved sha256:f8953e4563f382c8bd169bcfd175c43ec185f486 reviewer:architect evidence:https://github.com/Yeachan-Heo/gajae-code/actions/runs/31635092646. Critic review: no findings. Terminal disposition: MERGE_READY.

@Yeachan-Heo
Yeachan-Heo merged commit 30628db into dev Aug 12, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant