mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 22:10:23 +00:00
chore: generate
This commit is contained in:
parent
48acab48ad
commit
29f05cb1ee
2 changed files with 25 additions and 0 deletions
|
|
@ -885,6 +885,7 @@ export type CompactionPart = {
|
|||
type: "compaction"
|
||||
auto: boolean
|
||||
overflow?: boolean
|
||||
tail_start_id?: string
|
||||
}
|
||||
|
||||
export type Part =
|
||||
|
|
@ -1642,6 +1643,14 @@ export type Config = {
|
|||
* Enable pruning of old tool outputs (default: true)
|
||||
*/
|
||||
prune?: boolean
|
||||
/**
|
||||
* Number of recent user turns, including their following assistant/tool responses, to keep verbatim during compaction (default: 2)
|
||||
*/
|
||||
tail_turns?: number
|
||||
/**
|
||||
* Token budget for retained recent turn spans during compaction
|
||||
*/
|
||||
tail_tokens?: number
|
||||
/**
|
||||
* Token buffer for compaction. Leaves enough window to avoid overflow during compaction.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue