mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-27 10:25:50 +03:00
[PR #227] [CLOSED] fix(kiro): force-enable thinking mode for consistent behavior across AI agents #308
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#308
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/227
Author: @tickernelz
Created: 1/13/2026
Status: ❌ Closed
Base:
main← Head:fix/kiro-thinking-default📝 Commits (1)
d96a827fix(claude): force-enable thinking mode for consistent behavior📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
src/providers/claude/claude-kiro.js(+8 -0)📄 Description
Problem
Kiro provider thinking behavior is inconsistent between different AI agent tools:
Root Cause
Different AI agent tools send different
thinkingparameters:thinking: { type: 'enabled', budget_tokens: 20000 }thinkingparameter at allThis causes inconsistent UX where thinking appears in some tools but not others.
Solution
Force-enable thinking mode at provider level in
generateContentStream():Test Results
Comprehensive testing with 4 scenarios - ALL PASSED ✅
All scenarios now show consistent thinking block with proper streaming.
Impact
thinking: enabledcontinue working normallyChanges
src/providers/claude/claude-kiro.js(+8 lines)Related Issues
Fixes inconsistent thinking behavior reported in Claude Kiro vs Orchids comparison.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.