From a58ddfa17552e7cc03d63577d5ca7438364fa3a8 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Mon, 6 Oct 2025 19:45:35 +0530 Subject: [PATCH] comment out lastSessionResult --- gui/src/redux/thunks/session.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gui/src/redux/thunks/session.ts b/gui/src/redux/thunks/session.ts index 5fadfb685..a4404095a 100644 --- a/gui/src/redux/thunks/session.ts +++ b/gui/src/redux/thunks/session.ts @@ -147,12 +147,12 @@ export const loadLastSession = createAsyncThunk( async (_, { extra, dispatch, getState }) => { let lastSessionId = getState().session.lastSessionId; - const lastSessionResult = await extra.ideMessenger.request("history/list", { - limit: 1, - }); - if (lastSessionResult.status === "success") { - lastSessionId = lastSessionResult.content.at(0)?.sessionId; - } + // const lastSessionResult = await extra.ideMessenger.request("history/list", { + // limit: 1, + // }); + // if (lastSessionResult.status === "success") { + // lastSessionId = lastSessionResult.content.at(0)?.sessionId; + // } if (!lastSessionId) { dispatch(newSession());