mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 12:41:22 +00:00
fix(memoryFlush): correct context token accounting for flush gating (#5343)
Merged via squash.
Prepared head SHA: afaa7bae3b
Co-authored-by: jarvis-medmatic <252428873+jarvis-medmatic@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
@@ -251,6 +251,7 @@ export async function runReplyAgent(params: {
|
||||
activeSessionEntry = await runMemoryFlushIfNeeded({
|
||||
cfg,
|
||||
followupRun,
|
||||
promptForEstimate: followupRun.prompt,
|
||||
sessionCtx,
|
||||
opts,
|
||||
defaultModel,
|
||||
|
||||
Reference in New Issue
Block a user