fix(room): increase streaming timeout from 60s to 120s
Some checks failed
CI / Rust Lint & Check (push) Has been cancelled
CI / Rust Tests (push) Has been cancelled
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled

Give more buffer for heartbeat chunks to arrive during long tool
execution, reducing false "Stream timed out" errors.
This commit is contained in:
ZhenYi 2026-04-29 09:03:33 +08:00
parent 03f97c9221
commit bba35f1b2c

View File

@ -498,7 +498,7 @@ export function RoomProvider({
), ),
); );
streamingTimersRef.current.delete(msgId); streamingTimersRef.current.delete(msgId);
}, 60000); }, 120000);
streamingTimersRef.current.set(msgId, timer); streamingTimersRef.current.set(msgId, timer);
}, []); }, []);