kimi-code/packages/agent-core/src
Kaiyi 29cb33d862 fix(agent-core): close open tool calls in compacted prefixes and sync docs
Full compaction slices the raw history, which can exclude a delayed tool result and leave its tool_use open in the compacted prefix, triggering the same strict-provider 400 on the summary request. Synthesize a placeholder tool_result for such calls when projecting the compacted prefix.

Also sync the micro_compaction default to false in the en/zh configuration and env-var docs.
2026-06-30 13:55:20 +08:00
..
agent fix(agent-core): close open tool calls in compacted prefixes and sync docs 2026-06-30 13:55:20 +08:00
base/common feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
config feat(managed-kimi-code): route anthropic protocol via beta api (#1186) 2026-06-29 14:24:01 +08:00
di feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
errors fix: render provider HTML error messages instead of blank lines (#1191) 2026-06-29 15:49:48 +08:00
flags fix(agent-core): repair misplaced tool results in projected context 2026-06-30 13:28:02 +08:00
logging fix: add minor improvements for Mira (#649) 2026-06-11 15:50:33 +08:00
loop refactor(agent-core): align malformed tool args with schema validation (#1209) 2026-06-29 23:24:03 +08:00
mcp fix: preserve long tool output (#1062) 2026-06-24 14:42:11 +08:00
plugin feat: support hooks in plugins (#1127) 2026-06-26 17:02:14 +08:00
profile refactor(agent-core): use ripgrep for Glob tool (#1068) 2026-06-29 17:40:58 +08:00
rpc chore(telemetry): normalize telemetry property keys to snake_case (#1196) 2026-06-29 17:40:50 +08:00
services chore(telemetry): add ripgrep fallback telemetry (#1203) 2026-06-29 18:30:09 +08:00
session feat(managed-kimi-code): route anthropic protocol via beta api (#1186) 2026-06-29 14:24:01 +08:00
skill feat: add shell mode (!) to the CLI (#1079) 2026-06-25 21:24:53 +08:00
tools chore(telemetry): add ripgrep fallback telemetry (#1203) 2026-06-29 18:30:09 +08:00
utils feat: cap completion tokens to remaining context window for chat-completions (#1131) 2026-06-26 19:12:04 +08:00
errors.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
index.ts feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
plugin.ts feat: add plugin manager and official plugins (#119) 2026-05-27 22:47:33 +08:00
prompt-modules.d.ts chore: use raw query imports for prompt sources (#682) 2026-06-12 11:47:44 +08:00
telemetry.ts feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
version.ts Kimi For Coding 2026-05-22 15:54:50 +08:00