fix: discourage _noop tool call during LiteLLM compaction (#18539)

This commit is contained in:
Knut Zuidema
2026-03-30 05:48:17 +02:00
committed by GitHub
parent b234370080
commit 196a03caff
2 changed files with 12 additions and 3 deletions
@@ -176,6 +176,7 @@ export namespace SessionCompaction {
const defaultPrompt = `Provide a detailed prompt for continuing our conversation above.
Focus on information that would be helpful for continuing the conversation, including what we did, what we're doing, which files we're working on, and what we're going to do next.
The summary that you construct will be used so that another agent can read it and continue the work.
Do not call any tools. Respond only with the summary text.
When constructing the summary, try to stick to this template:
---