kimi-code/packages/agent-core/test/agent/context
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
..
projector.test.ts fix(agent-core): close open tool calls in compacted prefixes and sync docs 2026-06-30 13:55:20 +08:00