fix(llm): sync compact option catalogs

This commit is contained in:
Yichen Jiang
2026-07-22 18:55:21 +08:00
parent 26166658e2
commit f432f25203
2 changed files with 8 additions and 1 deletions

View File

@@ -235,6 +235,13 @@ interface GenerateOptions {
* it; replay uses it to keep concurrent parent and child cursors independent.
*/
sessionId?: Branded<'SessionId'>
/**
* Marks the auxiliary compaction (summarization) call. The DeepSeek adapter
* forwards it as the `x-deepseek-harness-compact: 1` request header so the
* host can separate compaction traffic from conversation requests; it never
* enters the model-visible request body. Loop-built requests leave it unset.
*/
compact?: boolean
}
```