Skip to content

feat(vscode): add compaction model setting - #13533

Merged
marius-kilocode merged 1 commit into
mainfrom
configurable-compaction-model
Aug 28, 2026
Merged

feat(vscode): add compaction model setting#13533
marius-kilocode merged 1 commit into
mainfrom
configurable-compaction-model

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Choosing a separate model for conversation compaction required editing CLI configuration. Kilo settings did not expose this choice.

Why This Change Was Made

Expose the existing agent.compaction.model setting in Context settings. The selector uses the current SDK configuration path, so no backend, SDK, or schema change is needed.

User Impact

Choose a model for automatic and manual compaction, or clear the selection to use the chat model. Changing the compaction model does not change the chat model. Cost, speed, and summary quality depend on the selected model.

The code diff contains the selector, required translations, one focused set/reset test, and a changeset. No benchmark artifacts or generated files are included.

Evidence

Typecheck, lint, compile, Knip, and the change-marker check passed. The extension unit suite passed all 4,321 tests.

The isolated VS Code self-test verified model selection, Save, Reload, Discard, clearing an unavailable model, and keyboard reset with auto-compaction disabled. The chat model and other compaction settings stayed unchanged.

Two live compaction attempts used identical synthetic histories. The saved override selected the configured compaction model; clearing it selected the chat model. Both requests returned HTTP 401 before generation, so these attempts do not establish timing, cost, or summary-quality differences.

Compaction settings with a separate model selected and automatic compaction disabled

@kilo-code-bot

kilo-code-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (24 files)
  • .changeset/quiet-compaction-model.md
  • packages/kilo-vscode/tests/unit/config-utils.test.ts
  • packages/kilo-vscode/webview-ui/src/components/settings/ContextTab.tsx
  • packages/kilo-vscode/webview-ui/src/i18n/ar.ts
  • packages/kilo-vscode/webview-ui/src/i18n/br.ts
  • packages/kilo-vscode/webview-ui/src/i18n/bs.ts
  • packages/kilo-vscode/webview-ui/src/i18n/da.ts
  • packages/kilo-vscode/webview-ui/src/i18n/de.ts
  • packages/kilo-vscode/webview-ui/src/i18n/en.ts
  • packages/kilo-vscode/webview-ui/src/i18n/es.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fa.ts
  • packages/kilo-vscode/webview-ui/src/i18n/fr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/it.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ja.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ko.ts
  • packages/kilo-vscode/webview-ui/src/i18n/nl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/no.ts
  • packages/kilo-vscode/webview-ui/src/i18n/pl.ts
  • packages/kilo-vscode/webview-ui/src/i18n/ru.ts
  • packages/kilo-vscode/webview-ui/src/i18n/th.ts
  • packages/kilo-vscode/webview-ui/src/i18n/tr.ts
  • packages/kilo-vscode/webview-ui/src/i18n/uk.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zh.ts
  • packages/kilo-vscode/webview-ui/src/i18n/zht.ts

Reviewed by grok-4.6 · Input: 315.4K · Output: 18.6K · Cached: 1.4M

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode merged commit f0db1f2 into main Aug 28, 2026
24 checks passed
@marius-kilocode
marius-kilocode deleted the configurable-compaction-model branch August 28, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants