{#if costEstimate && isConnected && !isProcessing}
+{formatTokenCount(costEstimate.messageTokens)} ${costEstimate.estimatedCost.toFixed(4)}
{/if} {#if isProcessing} {:else} {/if}
{#if showSnippetLibrary} (showSnippetLibrary = false)} onInsert={handleSnippetInsert} /> {/if} {#if showQuickActions} (showQuickActions = false)} onAction={handleQuickAction} /> {/if} {#if showClipboardHistory} (showClipboardHistory = false)} onInsert={handleClipboardInsert} /> {/if} {#if contextMenuShow && textareaElement} {/if}