refactor: Remove init_token handling from admin initialization logic and related tests

This commit is contained in:
foreleven
2026-04-12 12:05:38 +08:00
committed by JeffJiang
parent 44d9953e2e
commit 00a90bbd3d
8 changed files with 13 additions and 144 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ export function useThreadStream({
useEffect(() => {
if (
optimisticMessages.length > 0 &&
thread.messages.length > prevMsgCountRef.current
thread.messages.length > prevMsgCountRef.current + 1
) {
setOptimisticMessages([]);
}