start history in playgroundModal
This commit is contained in:
parent
93568b4c0d
commit
41c2d7feb5
1 changed files with 6 additions and 0 deletions
|
|
@ -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 && (
|
||||
<TabsTrigger value={"2"}>Outputs</TabsTrigger>
|
||||
)}
|
||||
{haveChat && (
|
||||
<TabsTrigger value={"3"}>History</TabsTrigger>
|
||||
)}
|
||||
</TabsList>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue