mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 19:32:27 +00:00
fix: trigger compaction on LLM timeout with high context usage (#46417)
Merged via squash.
Prepared head SHA: 619bc4c1fa
Co-authored-by: joeykrug <5925937+joeykrug@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
@@ -83,6 +83,8 @@ beforeEach(() => {
|
||||
originalNodeNoWarnings = process.env.NODE_NO_WARNINGS;
|
||||
originalHideBanner = process.env.OPENCLAW_HIDE_BANNER;
|
||||
originalForceStderr = loggingState.forceConsoleToStderr;
|
||||
// Worker-thread Vitest runs do not reliably mutate the real process title,
|
||||
// so capture writes at the property boundary instead.
|
||||
Object.defineProperty(process, "title", {
|
||||
configurable: true,
|
||||
enumerable: originalProcessTitleDescriptor?.enumerable ?? true,
|
||||
|
||||
Reference in New Issue
Block a user