mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
fix(agent-core-v2): align blocked compaction failures
This commit is contained in:
parent
c91c03d4e4
commit
ad38fd12de
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ export class AgentFullCompactionService extends Disposable implements IAgentFull
|
|||
try {
|
||||
await active.promise;
|
||||
} catch (error) {
|
||||
if (active.abortController.signal.aborted || isAbortError(error)) return;
|
||||
if (signal?.aborted === true && (active.abortController.signal.aborted || isAbortError(error))) return;
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue