diff --git a/desktop/src/components/ReflectionLog.tsx b/desktop/src/components/ReflectionLog.tsx index 55df0dc..3695ffd 100644 --- a/desktop/src/components/ReflectionLog.tsx +++ b/desktop/src/components/ReflectionLog.tsx @@ -395,6 +395,9 @@ export function ReflectionLog({ useEffect(() => { const loadData = async () => { try { + // Initialize reflection engine with config that allows soul modification + await intelligenceClient.reflection.init(config); + const loadedHistory = await intelligenceClient.reflection.getHistory(); setHistory([...loadedHistory].reverse()); // Most recent first @@ -405,7 +408,7 @@ export function ReflectionLog({ } }; loadData(); - }, [agentId]); + }, [agentId, config]); const handleReflect = useCallback(async () => { setIsReflecting(true);