Removed chat library session management logic from workflow

This commit is contained in:
2026-06-16 23:33:47 +02:00
parent 0492231194
commit 396f644f33

View File

@@ -1271,7 +1271,6 @@ export default function App() {
composerAttachments,
createNewChat,
finishCancelableRequest,
getChatLibraryForSession,
getChatWorkflowForSession,
imageAttachmentUnavailableReason,
input,
@@ -1453,7 +1452,6 @@ async function createNewChat() {
.then(() => {
const newSessions = chatSessions.filter(s => s.session_id !== sessionId);
setChatSessions(newSessions);
setChatLibraryForSession(sessionId, null)
if (activeSessionId === sessionId) {
setActiveSessionId(newSessions.length > 0 ? newSessions[0].session_id : null);
}