co-mono/packages/ai/src/providers
Mario Zechner 9825c13f5f fix(ai): handle redacted_thinking blocks, skip interleaved beta for adaptive models, drop temperature with thinking
- Map redacted_thinking to ThinkingContent with redacted: true instead of
  adding a new content type. The opaque payload goes in thinkingSignature,
  thinking text is set to "[Reasoning redacted]" so it renders naturally
  everywhere. Cross-model transform drops redacted blocks.
- Skip interleaved-thinking-2025-05-14 beta header for Opus 4.6 / Sonnet 4.6
  where adaptive thinking makes it deprecated/redundant.
- Do not send temperature when thinkingEnabled is true (incompatible with
  both adaptive and budget-based thinking).

Based on #1665 by @tctev
2026-02-27 21:53:25 +01:00
..
amazon-bedrock.ts fix(ai): enable adaptive thinking for sonnet 4.6 and clamp xhigh effort (#1548) 2026-02-26 00:34:06 +01:00
anthropic.ts fix(ai): handle redacted_thinking blocks, skip interleaved beta for adaptive models, drop temperature with thinking 2026-02-27 21:53:25 +01:00
azure-openai-responses.ts fix(ai): correct provider error message typo (closes #958) 2026-01-26 15:37:57 +01:00
github-copilot-headers.ts refactor(ai): fix inconsistencies, trim ai code+replace tests, remove unnceccessary tool_result check 2026-02-12 18:41:12 +01:00
google-gemini-cli.ts ai: update Antigravity system instruction to compact version, fix flaky tool test 2026-02-08 23:37:09 +01:00
google-shared.ts fix(ai): use parametersJsonSchema for Google tool declarations, revert Antigravity opus model 2026-02-08 15:53:17 +01:00
google-vertex.ts fix(ai): default tool call arguments to empty object for Google providers 2026-01-25 03:18:02 +01:00
google.ts fix(ai): correct provider error message typo (closes #958) 2026-01-26 15:37:57 +01:00
openai-codex-responses.ts feat: add configurable transport and codex websocket session caching 2026-02-13 23:41:49 +01:00
openai-completions.ts Closes #1671, switch to GLM-5 for tests 2026-02-27 21:35:40 +01:00
openai-responses-shared.ts fix(ai): tolerate malformed trailing tool-call JSON in OpenAI streams closes #1424 2026-02-12 21:09:42 +01:00
openai-responses.ts feat(ai): route copilot claude via anthropic messages api 2026-02-12 18:41:12 +01:00
register-builtins.ts feat: custom provider support with streamSimple 2026-01-24 23:15:11 +01:00
simple-options.ts feat(ai): add generic metadata field to StreamOptions, closes #1384 2026-02-12 17:39:03 +01:00
transform-messages.ts fix(ai): handle redacted_thinking blocks, skip interleaved beta for adaptive models, drop temperature with thinking 2026-02-27 21:53:25 +01:00