fix(kimi-acp): kimi acp tool call update is missing the kind field (#2814)

This commit is contained in:
yetone
2025-10-31 20:41:12 +08:00
committed by GitHub
parent 15ef2a012c
commit 7f48770e66
5 changed files with 22 additions and 9 deletions

View File

@@ -957,7 +957,7 @@ function M._stream_acp(opts)
local message = History.Message:new("assistant", {
type = "tool_use",
id = update.toolCallId,
name = update.kind,
name = update.kind or update.title,
input = update.rawInput or {},
}, {
uuid = update.toolCallId,