mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 15:36:48 +00:00
refactor: Remove init_token handling from admin initialization logic and related tests
This commit is contained in:
@@ -322,7 +322,7 @@ export function useThreadStream({
|
||||
useEffect(() => {
|
||||
if (
|
||||
optimisticMessages.length > 0 &&
|
||||
thread.messages.length > prevMsgCountRef.current
|
||||
thread.messages.length > prevMsgCountRef.current + 1
|
||||
) {
|
||||
setOptimisticMessages([]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user