kimi-code icon indicating copy to clipboard operation
kimi-code copied to clipboard

[feature request] Global support_efforts inheritance in [thinking] table

Open SunshineR04 opened this issue 4 months ago • 0 comments

Summary

Currently, support_efforts can only be configured per-model under each [models."<alias>"] table. When multiple models all support the same five effort levels (low, medium, high, xhigh, max), the same array has to be copied into every model block, creating unnecessary repetition and maintenance overhead.

Proposed change

Add a global support_efforts field to the [thinking] table that serves as a fallback when a model does not define its own support_efforts. This mirrors how [thinking].effort already provides a global default for default_effort.

Desired behavior

  • If [models."<alias>"].support_efforts is set -> use it (per-model override)
  • If [models."<alias>"].support_efforts is absent -> fall back to [thinking].support_efforts
  • If neither is set -> preserve current default behavior

Example

[thinking]
enabled = true
effort = "high"
support_efforts = ["low", "medium", "high", "xhigh", "max"]

[models."deepseek/deepseek-v4-flash"]
default_effort = "high"

[models."some-other-model"]
support_efforts = ["low", "medium", "high"]

Benefits

  • Eliminates repetitive boilerplate when managing many models
  • Makes it effortless to give all models the same set of effort levels
  • Still allows per-model customization when needed
  • Consistent with the existing effort / default_effort hierarchy

Environment

  • kimi-code version: 0.27.0
  • Platform: Windows / win32-x64

SunshineR04 avatar Jul 19 '26 14:07 SunshineR04