Skip to content

feat(scan): choose model, reasoning effort and cost limit per scan - #37

Closed
strantalis wants to merge 1 commit into
fix/sdk-helper-in-compiled-hostfrom
feat/per-scan-model-settings
Closed

strantalis wants to merge 1 commit into
fix/sdk-helper-in-compiled-hostfrom
feat/per-scan-model-settings

Conversation

@strantalis

Copy link
Copy Markdown
Owner

Stacked on #36.

For one scan you can now set the reasoning effort, a cost limit and the model:

  • Desktop panel: reasoning effort and cost limit in the new-scan form; model under a disclosure.
  • Terminal review: r reasoning, l cost limit, o model.
  • Chat: security_scan accepts reasoningEffort, maxCostUsd and model. The approval preview shows the resolved model and effort.

Anything left unset comes from the config. The values are kept with the scan, so "Run again" carries them over. Effort is passed to Codex as given; the forms offer low, medium, high and xhigh.

npm run check passes with a new test. I checked the Desktop form in the preview harness. Not checked: the terminal review in a real OpenCode, or a real scan started with an override.

🤖 Generated with Claude Code

https://claude.ai/code/session_016LiHJtDpo3TEPnWZ78vM2X

The scan review in the Desktop panel and the terminal, and the security_scan
tool, accept a reasoning effort, a cost limit and a model for one scan. Unset
values come from the config as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016LiHJtDpo3TEPnWZ78vM2X
@strantalis

Copy link
Copy Markdown
Owner Author

Landed in main through #39, which carried this branch after the base of this PR was deleted.

@strantalis
strantalis deleted the feat/per-scan-model-settings branch November 13, 2026 05:42
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