fix: unblock local news page generation
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user