fix: prefix overlap error with [compress] for tool identification

This commit is contained in:
wassname
2026-04-16 13:10:33 +08:00
parent 3281b2f9bd
commit 779e5cc240
+1 -1
View File
@@ -212,7 +212,7 @@ export function registerCompressTool(
: 'none available — all visible messages are covered by existing blocks'
throw new Error(
`Range {startId: "${startId}", endId: "${endId}"} overlaps existing summaries: ${overlapInfo}. ` +
`[compress] Range {startId: "${startId}", endId: "${endId}"} overlaps existing summaries: ${overlapInfo}. ` +
`Available ranges: ${gapInfo}`,
)
}