From 41c2d7feb5f013deeb09b85d18ae016407c31ed6 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 3 Jun 2024 14:48:05 -0300 Subject: [PATCH] start history in playgroundModal --- src/frontend/src/modals/IOModal/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/frontend/src/modals/IOModal/index.tsx b/src/frontend/src/modals/IOModal/index.tsx index 82350b57e..eba05133d 100644 --- a/src/frontend/src/modals/IOModal/index.tsx +++ b/src/frontend/src/modals/IOModal/index.tsx @@ -113,6 +113,9 @@ export default function IOModal({ useEffect(() => { setSelectedViewField(startView()); + if (haveChat) { + //TODO: fetch avaliable Sessions + } }, [open]); return ( @@ -160,6 +163,9 @@ export default function IOModal({ {outputs.length > 0 && ( Outputs )} + {haveChat && ( + History + )}