mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-25 17:35:58 +03:00
[PR #199] [MERGED] fix(kiro): preserve tool definitions when history contains tool calls #298
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#298
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/199
Author: @tickernelz
Created: 1/9/2026
Status: ✅ Merged
Merged: 1/9/2026
Merged by: @justlovemaki
Base:
main← Head:fix-400-kiro📝 Commits (3)
99472b8fix(kiro): preserve tool definitions when history contains tool calls7d1f2d9Merge branch 'justlovemaki:main' into fix-400-kirod390a49Merge remote-tracking branch 'aiclient/main' into fix-400-kiro📊 Changes
1 file changed (+29 additions, -1 deletions)
View changed files
📝
src/claude/claude-kiro.js(+29 -1)📄 Description
When conversation history includes tool usage but current request doesn't provide tool definitions, reconstruct minimal tool specifications from history to prevent API errors. This ensures continuity in multi-turn conversations with tool calling.
FIXED:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.