fix context compressor summary prompt (#1041)

This commit is contained in:
ekko
2026-05-26 17:29:19 +08:00
committed by GitHub
parent ad1cab277a
commit b0000b4c38
3 changed files with 57 additions and 7 deletions
@@ -333,7 +333,6 @@ export async function buildCompressedHistory(
history = await compressHistory(history, null, sessionId, upstream, apiKey, cState, totalTokens, emit, sessionMap, modelContext, compressionConfig.compressor, currentRunInputTokens)
}
}
return history
} catch (err) {
if (isContextWindowTooSmallError(err)) throw err