9router/open-sse/executors
Manuel B. 58a821d687
fix: granular reasoning_effort handling for Claude models (#791)
- github.js: split thinking vs reasoning_effort stripping
  - thinking (Claude-native format) still stripped for all Claude on Copilot
  - reasoning_effort now passed through for Opus 4.6 and Sonnet 4.6
  - still stripped for Haiku 4.5 and Opus 4.7 (rejected upstream)
  - reasoning_effort "none" stripped for all models (not all support it)
- openai-to-claude.js: map reasoning_effort → thinking.budget_tokens
  for direct Anthropic backend (none→skip, low→4096, medium→8192,
  high→16384, xhigh→32768)

Previously reasoning_effort was stripped for ALL Claude models,
meaning Opus 4.6 via Copilot never received thinking configuration.

AI-generated commit by Claude Opus 4.6 (Anthropic)
2026-04-28 09:49:27 +07:00
..
antigravity.js Fix AG 2026-04-01 11:48:38 +07:00
azure.js feat: add Azure OpenAI provider support 2026-04-24 10:04:59 +07:00
base.js fix: enhance retry logic and configuration for HTTP status codes 2026-04-24 10:07:08 +07:00
codex.js - Updated markAccountUnavailable function to accept resetsAtMs for precise cooldown management. 2026-04-24 11:36:16 +07:00
cursor.js fix: force Agent mode in Cursor protobuf when User-Agent contains Claude Code (closes #643) (#692) 2026-04-22 10:24:58 +07:00
default.js feat(claude-code): spoof TLS fingerprint and stabilize headers for Anthropic 2026-03-30 16:27:28 +07:00
gemini-cli.js Refactor config 2026-03-12 16:20:46 +07:00
github.js fix: granular reasoning_effort handling for Claude models (#791) 2026-04-28 09:49:27 +07:00
grok-web.js feat: add support for Grok Web and Perplexity Web providers 2026-04-22 11:58:53 +07:00
iflow.js fix(iflow): inject stream_options for usage data in streaming 2026-03-23 12:03:11 +07:00
index.js feat: add Azure OpenAI provider support 2026-04-24 10:04:59 +07:00
kiro.js - Added Hermes tool to CLI tools and updated related components. 2026-04-23 16:39:31 +07:00
opencode-go.js feat: add OpenCode Go provider and support for custom models 2026-04-22 14:16:21 +07:00
opencode.js Refactor error handling to config-driven approach with centralized error rules 2026-04-15 11:46:47 +07:00
perplexity-web.js feat: add support for Grok Web and Perplexity Web providers 2026-04-22 11:58:53 +07:00
qoder.js Fix bug 2026-03-31 15:44:19 +07:00
qwen.js Add marked package, update Qwen executor for OAuth handling, and enhance changelog styles 2026-04-17 12:15:10 +07:00
vertex.js fix: use project-scoped Vertex URL for SA JSON auth and add ?alt=sse for streaming (closes #388) 2026-03-27 11:03:49 +07:00