fix: unblock local news page generation

This commit is contained in:
john
2026-07-25 21:55:00 +08:00
parent 793e64bfbc
commit 6b6f9ed01c
16 changed files with 1075 additions and 47 deletions
+8
View File
@@ -68,6 +68,14 @@ test('only ambiguous transport failures keep the chat streaming', () => {
),
true,
);
assert.equal(
shouldKeepStreamingAfterRunError(
undefined,
'Session already has an active request. Cancel it first.',
'AGENT_RUN_FAILED',
),
false,
);
assert.equal(shouldKeepStreamingAfterRunError(undefined, '后台任务失败'), false);
});