kimi-code/packages/agent-core/src/utils
qer 76c643bcb6
feat: cap completion tokens to remaining context window for chat-completions (#1131)
* feat: cap completion tokens to remaining context window for chat-completions

* test: cover dynamic completion budget for kimi and openai-legacy

* fix: leave compaction budget uncapped to avoid one-token summaries

* fix: add hookCount to plugins-selector test mocks
2026-06-26 19:12:04 +08:00
..
abort.ts fix: cancel active turns during session shutdown (#661) 2026-06-11 20:52:50 +08:00
completion-budget.ts feat: cap completion tokens to remaining context window for chat-completions (#1131) 2026-06-26 19:12:04 +08:00
fs.ts refactor: unify path normalization with pathe (#84) 2026-05-27 11:53:24 +08:00
hero-slug.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
per-id-json-store.ts refactor: background task manager persistence (#285) 2026-06-02 12:48:31 +08:00
promise.ts feat: add shell mode (!) to the CLI (#1079) 2026-06-25 21:24:53 +08:00
proxy.ts feat: honor HTTP_PROXY/HTTPS_PROXY/NO_PROXY for all outbound traffic (#487) 2026-06-06 01:44:54 +08:00
render-prompt.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
tokens.ts fix: continue compaction while context remains blocked (#813) 2026-06-16 16:48:27 +08:00
types.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
workdir-slug.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
xml-escape.ts fix(skill): wrap slash-activated skill content in system-reminder tags (#135) 2026-06-02 11:20:54 +08:00