{#if !largeScreen} {#if $showControls} { showControls.set(false); }} >
{#if $showCallOverlay}
{ showControls.set(false); }} />
{:else if $showArtifacts} {:else if $showOverview} { showMessage(e.detail.node.data.message); }} on:close={() => { showControls.set(false); }} /> {:else} { showControls.set(false); }} {models} bind:chatFiles bind:params /> {/if}
{/if} {:else} {#if $showControls}
{/if} { console.log('size', size, minSize); if ($showControls && pane.isExpanded()) { if (size < minSize) { pane.resize(minSize); } if (size < minSize) { localStorage.chatControlsSize = 0; } else { localStorage.chatControlsSize = size; } } }} onCollapse={() => { showControls.set(false); }} collapsible={true} class="pt-8" > {#if $showControls}
{#if $showCallOverlay}
{ showControls.set(false); }} />
{:else if $showArtifacts} {:else if $showOverview} { if (e.detail.node.data.message.favorite) { history.messages[e.detail.node.data.message.id].favorite = true; } else { history.messages[e.detail.node.data.message.id].favorite = null; } showMessage(e.detail.node.data.message); }} on:close={() => { showControls.set(false); }} /> {:else} { showControls.set(false); }} {models} bind:chatFiles bind:params /> {/if}
{/if}
{/if}