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

@@ -415,12 +415,12 @@ function ACPClient:_create_stdio_transport()
-- Read stderr for debugging
stderr:read_start(function(_, data)
if data then
-- Filter out common session recovery error messages to avoid user confusion
if not (data:match("Session not found") or data:match("session/prompt")) then
vim.schedule(function() vim.notify("ACP stderr: " .. data, vim.log.levels.DEBUG) end)
end
end
-- if data then
-- -- Filter out common session recovery error messages to avoid user confusion
-- if not (data:match("Session not found") or data:match("session/prompt")) then
-- vim.schedule(function() vim.notify("ACP stderr: " .. data, vim.log.levels.DEBUG) end)
-- end
-- end
end)
end