Skip to content

fix(agents): preserve extended reasoning effort levels - #606

Draft
Filip-Stastny-Philips wants to merge 3 commits into
codemie-ai:mainfrom
Filip-Stastny-Philips:fix/reasoning-level-support
Draft

Filip-Stastny-Philips wants to merge 3 commits into
codemie-ai:mainfrom
Filip-Stastny-Philips:fix/reasoning-level-support

Conversation

@Filip-Stastny-Philips

@Filip-Stastny-Philips Filip-Stastny-Philips commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Prerequisite

Why

GPT-5.6 and GPT-6 effort selections were not consistently preserved. Pi downgraded xhigh and max to high, while the CodeMie OpenCode configuration did not explicitly expose model-specific Responses variants.

What changed

  • Forward all six CodeMie effort levels through the built-in codemie-code OpenCode wrapper.
  • Model GPT-5.6 and GPT-6 Sol/Luna with native none, low, medium, high, xhigh, and max levels.
  • Model GPT-6 Astra and GPT-6.1 Sol with native low, medium, high, xhigh, and max levels.
  • Keep CodeMie's minimal as a compatibility alias to the lowest native level (none or low).
  • Add GPT-6 Responses routing, context limits, and Pi reasoning detection.
  • Preserve Pi xhigh and max mappings and add focused regressions.
  • Keep the detailed plan/findings in local-only tmp/opencode-max-effort-level.md; it is excluded from the PR.

Validation

  • Focused OpenCode, Pi, and CodeMie reasoning tests: 65 passed.
  • Typecheck and changed-file lint pass.
  • Commit hooks passed with the local secrets scan skipped because no container engine is installed.

This branch has not been deployed

No deployments
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