feat: split h5 direct chat from goosed tasks
This commit is contained in:
@@ -747,6 +747,10 @@ export function useTKMindChat(
|
||||
setChatState('idle');
|
||||
setPendingTool(null);
|
||||
activeRequestId.current = null;
|
||||
if (sessionId.startsWith('h5direct_')) {
|
||||
unsubscribeRef.current?.();
|
||||
unsubscribeRef.current = null;
|
||||
}
|
||||
setSessions((prev) => touchSession(prev, sessionId, 0));
|
||||
if (userRef.current && onUserUpdateRef.current) {
|
||||
void getMe()
|
||||
|
||||
Reference in New Issue
Block a user