mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-25 09:25:59 +03:00
[PR #320] [MERGED] feat(kiro): add extended thinking passthrough and structured reasoning outputs #334
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#334
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/320
Author: @Asoubra12
Created: 2/11/2026
Status: ✅ Merged
Merged: 2/20/2026
Merged by: @justlovemaki
Base:
main← Head:pr/kiro-extended-thinking-slim📝 Commits (1)
9f3040cfeat(kiro): add request-side extended thinking support and structured reasoning outputs📊 Changes
9 files changed (+491 additions, -100 deletions)
View changed files
📝
README.md(+70 -1)📝
src/converters/strategies/ClaudeConverter.js(+17 -7)📝
src/converters/strategies/OpenAIConverter.js(+28 -6)📝
src/converters/strategies/OpenAIResponsesConverter.js(+6 -1)📝
src/providers/claude/claude-kiro.js(+205 -85)➕
tests/claude-converter-thinking.test.js(+43 -0)➕
tests/kiro-thinking-parsing.test.js(+40 -0)➕
tests/openai-converter-thinking.test.js(+55 -0)➕
tests/openai-responses-converter-thinking.test.js(+27 -0)📄 Description
Summary
Add enterprise-style extended thinking support for Kiro-backed Claude requests across both API styles:
/v1/chat/completions/v1/messagesWhat This PR Changes
extra_body.anthropic.thinkingin OpenAI-compatible requests.thinking: { "type": "enabled", "budget_tokens": N }thinking: { "type": "adaptive", "effort": "low|medium|high" }content[]withtype: "thinking"andtype: "text"choices[0].message.reasoning_contentCompatibility / Safety
Validation
tests/openai-converter-thinking.test.jstests/openai-responses-converter-thinking.test.jstests/kiro-thinking-parsing.test.jstests/claude-converter-thinking.test.js🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.