Skip to content

fix: support OpenRouter reasoning effort compatibility#151

Draft
Vizards wants to merge 1 commit into
mainfrom
fix/reasoning-effort-compat
Draft

fix: support OpenRouter reasoning effort compatibility#151
Vizards wants to merge 1 commit into
mainfrom
fix/reasoning-effort-compat

Conversation

@Vizards

@Vizards Vizards commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a focused thinking compatibility precheck for OpenAI-compatible reasoning effort providers such as OpenRouter
  • retry non-official endpoints once from DeepSeek native reasoning_effort: max to OpenAI-compatible reasoning_effort: xhigh and remove thinking
  • record retry request/response dumps under the same dump segment with a dedicated [reasoning-effort-compat] log prefix

Verification

  • npm run compile
  • npm run lint
  • VS Code Stable Extension Development Host UI test against OpenRouter: initial 400, retry success, response OR_UI_OK, retry dump written

@Vizards Vizards force-pushed the fix/reasoning-effort-compat branch from b269e01 to 9f04303 Compare June 11, 2026 05:21
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