-
Notifications
You must be signed in to change notification settings - Fork 806
chore(agent-core): remove experimental micro compaction #1317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@moonshot-ai/kimi-code": patch | ||
| --- | ||
|
|
||
| Remove the experimental micro compaction feature and its toggle from the experiments panel. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,8 +51,8 @@ reserved_context_size = 50000 | |
| max_running_tasks = 4 | ||
| keep_alive_on_exit = false | ||
|
|
||
| [experimental] | ||
| micro_compaction = false | ||
| # [experimental] | ||
| # micro_compaction = false # disabled: micro compaction has been removed | ||
|
|
||
| [[permission.rules]] | ||
| decision = "allow" | ||
|
|
@@ -200,13 +200,15 @@ You can also switch models temporarily without touching the config file — by s | |
|
|
||
| `keep_alive_on_exit` can be overridden by the `KIMI_CODE_BACKGROUND_KEEP_ALIVE_ON_EXIT` environment variable, which takes higher priority than `config.toml`. | ||
|
|
||
| <!-- | ||
| ## `experimental` | ||
|
Comment on lines
+203
to
204
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With this section hidden in an HTML comment, the rendered page no longer has an Useful? React with 👍 / 👎. |
||
|
|
||
| `experimental` stores persistent overrides for experimental-feature flags. Currently, `micro_compaction` is the only user-facing entry and defaults to `false`; set it to `true` to enable automatic trimming of older large tool results. | ||
|
|
||
| | Field | Type | Default | Description | | ||
| | --- | --- | --- | --- | | ||
| | `micro_compaction` | `boolean` | `false` | Trim older large tool results from context while preserving recent conversation | | ||
| --> | ||
|
|
||
| ## `services` | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commenting out the whole
## experimentalsection removes the#experimentalanchor, but the top-level fields table above still linksexperimentalto that anchor. Users clicking the config-field reference now land nowhere in both locale pages; either remove/update that link or render a short section that says no experimental flags are currently registered.Useful? React with 👍 / 👎.