[PR #197] [CLOSED] fix:add_thinking #296

Closed
opened 2026-02-27 07:18:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/197
Author: @LTctfer
Created: 1/9/2026
Status: Closed

Base: mainHead: fix-add-thinking


📝 Commits (1)

📊 Changes

1 file changed (+364 additions, -63 deletions)

View changed files

📝 src/claude/claude-kiro.js (+364 -63)

📄 Description

What

Add support for the Thinking feature.

Why

The current implementation lacks support for handling model thinking content, which limits compatibility with models that expose reasoning/thinking outputs.

How

  • Define constants for the Thinking prefix
  • Generate a standardized Thinking prefix
  • Parse Thinking content from model responses
  • Support streaming processing of Thinking content

Test

  • Tested locally
  • Verified that Thinking content can be correctly extracted and translated into English during streaming

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/justlovemaki/AIClient-2-API/pull/197 **Author:** [@LTctfer](https://github.com/LTctfer) **Created:** 1/9/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-add-thinking` --- ### 📝 Commits (1) - [`6d0004d`](https://github.com/justlovemaki/AIClient-2-API/commit/6d0004dfdcd55654f55c655fe092100704f236d0) fix:增加思考 ### 📊 Changes **1 file changed** (+364 additions, -63 deletions) <details> <summary>View changed files</summary> 📝 `src/claude/claude-kiro.js` (+364 -63) </details> ### 📄 Description ## What Add support for the **Thinking** feature. ## Why The current implementation lacks support for handling model thinking content, which limits compatibility with models that expose reasoning/thinking outputs. ## How - Define constants for the Thinking prefix - Generate a standardized `Thinking` prefix - Parse Thinking content from model responses - Support streaming processing of Thinking content ## Test - Tested locally - Verified that Thinking content can be correctly extracted and translated into English during streaming --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:18:51 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#296
No description provided.