feat(llm): mark compaction requests with x-deepseek-harness-compact header

This commit is contained in:
Jinhua Zhu
2026-07-22 18:35:32 +08:00
parent 6646ef04ac
commit 66e5f8eecd
7 changed files with 29 additions and 2 deletions

View File

@@ -182,6 +182,9 @@ export class DeepSeekAdapter extends LlmAdapter {
...options.sessionId !== undefined
? { 'x-deepseek-harness-session-id': String(options.sessionId) }
: {},
...options.compact === true
? { 'x-deepseek-harness-compact': '1' }
: {},
}
// TODO(http): adopt the Cordis HTTP service when shared transport configuration