kimi-code/packages/agent-core/test/agent
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
..
background refactor: standardize telemetry property names (#1184) 2026-06-29 12:34:38 +08:00
compaction fix(agent-core): close open tool calls in compacted prefixes and sync docs 2026-06-30 13:55:20 +08:00
config Kimi For Coding 2026-05-22 15:54:50 +08:00
context fix(agent-core): close open tool calls in compacted prefixes and sync docs 2026-06-30 13:55:20 +08:00
cron feat(cron): render scheduled reminders in TUI and expose fired events (#204) 2026-06-01 11:34:35 +08:00
harness ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
injection feat: Harden the default system prompt and built-in tool descriptions (#1102) 2026-06-26 16:56:40 +08:00
permission feat(goal): support guided goal authoring (#839) 2026-06-18 18:48:23 +08:00
records fix: build replay ranges from replay records (#805) 2026-06-16 15:20:23 +08:00
turn feat(agent-core): detect and escalate repeated tool calls to prevent infinite loops (#364) 2026-06-03 14:16:14 +08:00
basic.test.ts fix(agent-core): repair misplaced tool results in projected context 2026-06-30 13:28:02 +08:00
bg-idle-notification-repro.test.ts fix: preserve long tool output (#1062) 2026-06-24 14:42:11 +08:00
config-state.test.ts feat: cap completion tokens to remaining context window for chat-completions (#1131) 2026-06-26 19:12:04 +08:00
config.test.ts feat: add workspace add-dir support (#812) 2026-06-22 19:42:13 +08:00
context.test.ts fix(agent-core): repair misplaced tool results in projected context 2026-06-30 13:28:02 +08:00
goal-outcome.test.ts fix: polish goal lifecycle messaging (#555) 2026-06-09 11:47:00 +08:00
goal.test.ts fix: polish goal lifecycle messaging (#555) 2026-06-09 11:47:00 +08:00
kosong-llm.test.ts feat(managed-kimi-code): support Anthropic-compatible protocol (#1170) 2026-06-28 13:04:03 +08:00
permission.test.ts feat: add workspace add-dir support (#812) 2026-06-22 19:42:13 +08:00
plan.test.ts feat: Harden the default system prompt and built-in tool descriptions (#1102) 2026-06-26 16:56:40 +08:00
question.test.ts feat(agent-core): ModelProvider interface and SingleModelProvider (#167) 2026-05-28 22:27:09 +08:00
resume.test.ts fix(agent-core): realign mid-history interrupted tool calls on resume (#1027) 2026-06-23 22:39:19 +08:00
skill-prompt.test.ts fix: surface skill directory in the loaded-skill context block (#785) 2026-06-15 22:29:00 +08:00
skill-tool-manager.test.ts fix: surface skill directory in the loaded-skill context block (#785) 2026-06-15 22:29:00 +08:00
tool.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
turn.test.ts test(agent-core): align turn telemetry expectations with provider_type (#1194) 2026-06-29 14:44:26 +08:00
usage.test.ts Kimi For Coding 2026-05-22 15:54:50 +08:00