refactor(llm): classify auxiliary request purpose
This commit is contained in:
@@ -236,12 +236,11 @@ interface GenerateOptions {
|
||||
*/
|
||||
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.
|
||||
* Provider-neutral classification for an auxiliary model call. Adapters may
|
||||
* map the purpose to model-hidden transport metadata. Ordinary conversation
|
||||
* requests leave it unset.
|
||||
*/
|
||||
compact?: boolean
|
||||
purpose?: 'compaction'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user