feat(llm): mark compaction requests with x-deepseek-harness-compact header
This commit is contained in:
7 files changed
+29
-2
No files matched your search
@@ -138,6 +138,7 @@ export async function summarizeWithLlm(
|
||||
...input.tools === undefined ? {} : { tools: [...input.tools] },
|
||||
maxTokens: config.maxTokens,
|
||||
sessionId: agent.session.id,
|
||||
compact: true,
|
||||
...signal === undefined ? {} : { signal },
|
||||
}
|
||||
for await (const chunk of ctx.llm.stream(options)) assembler.push(chunk)
|
||||
|
||||
Reference in New Issue
Block a user