refactor streaming accumulation and chat history UI

This commit is contained in:
CJACK
2026-05-02 20:15:38 +08:00
parent 20d71f528a
commit c8f7b6b371
13 changed files with 1223 additions and 1037 deletions

View File

@@ -14,7 +14,7 @@ cleanup() {
}
trap cleanup EXIT
if ! node --test --test-concurrency=1 tests/node/stream-tool-sieve.test.js tests/node/chat-stream.test.js tests/node/js_compat_test.js "$@" 2>&1 | tee "$NODE_TEST_LOG"; then
if ! node --test --test-concurrency=1 tests/node/stream-tool-sieve.test.js tests/node/chat-stream.test.js tests/node/chat-history-utils.test.js tests/node/js_compat_test.js "$@" 2>&1 | tee "$NODE_TEST_LOG"; then
echo
echo "[run-unit-node] Node tests failed. 失败摘要如下:"
if command -v rg >/dev/null 2>&1; then