9router/open-sse/translator
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
..
helpers fix(codex): await image URL fetches before sending to upstream (closes #575) 2026-04-17 12:15:10 +07:00
request fix: granular reasoning_effort handling for Claude models (#791) 2026-04-28 09:49:27 +07:00
response Fix bug 2026-04-11 11:36:33 +07:00
formats.js fix: strip functionCall/functionResponse id and synthetic thoughtSignature for Vertex AI (closes #388) (#414) 2026-03-27 10:46:47 +07:00
index.js - Cap maximum cooldown for rate limit handling in account unavailability and single-model chat flows 2026-04-24 16:14:18 +07:00