diff --git a/src/App.jsx b/src/App.jsx index 3dfdbd6..5addb01 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -853,7 +853,7 @@ async function regenerateFromIndex(index, overrideUserText = null) { // Load messages for the active session useEffect(() => { fetchHistory(activeSessionId); - }, [activeSessionId]); + }, [activeSessionId, backendApiUrl]); useEffect(() => { const validSlugs = new Set(libraries.map(library => library.slug))