mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 06:41:22 +00:00
fix(discord): Apply historyLimit to channel/group sessions to prevent compaction bypass (openclaw#11356) thanks @shadril238
Verified: - pnpm build - pnpm check - pnpm test (ran; one unrelated existing failure in models forward-compat test) - pnpm vitest src/agents/pi-embedded-runner.history-limit-from-session-key.test.ts Co-authored-by: shadril238 <63901551+shadril238@users.noreply.github.com> Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ec4da3aca9
commit
5378583da1
@@ -5,6 +5,7 @@ export { applyExtraParamsToAgent, resolveExtraParams } from "./pi-embedded-runne
|
||||
export { applyGoogleTurnOrderingFix } from "./pi-embedded-runner/google.js";
|
||||
export {
|
||||
getDmHistoryLimitFromSessionKey,
|
||||
getHistoryLimitFromSessionKey,
|
||||
limitHistoryTurns,
|
||||
} from "./pi-embedded-runner/history.js";
|
||||
export { resolveEmbeddedSessionLane } from "./pi-embedded-runner/lanes.js";
|
||||
|
||||
Reference in New Issue
Block a user