Skip to content

Compaction call inherits the profile's thinking effort (and [models.compaction-model] is ignored) #4205

Open

Description

@belenov-maker

Environment

  • kimi-code (Node) v2.1.1, macOS arm64
  • Main model: GLM-5.3, thinking effort max

Component

compactionRound — thinkingEffort = resolvedModel.thinkingLevel.

Mechanism

The summary call runs with the same effort as the profile (for GLM: max), roughly doubling generation time, which widens the BUG-1 race window and the blocking time.

Related: [models.compaction-model] in config.toml is ignored — the compaction call always runs on the main (expensive, thinking-enabled) model, so there is currently no way to route the compaction call to a cheaper/faster model.

Facts

  • Observed 97–512 s per compaction call with thinkingEffort = max.

Expected

A per-compaction override (e.g. low/none); honoring [models.compaction-model] would additionally allow routing the summary to a cheap model.

Reproduction

  1. Profile with thinkingLevel: max (GLM-5.3).
  2. Trigger a compaction and time the LLM call — 97–512 s observed.

Related issues:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions