{topBarTitle} build: {__APP_VERSION__} { e.preventDefault(); handleInvokeHome(); }} > {#if collapseKey !== null} {/if}
{#if store.lastError} {/if} {#if store.activeChat.error} {/if}
{#if store.fatalError} store.clearFatalError()} /> {/if} {#if systemPromptModalOpen} store.loadSystemPrompt()} savePrompt={(template) => store.setSystemPrompt(template)} loadVariables={() => store.loadSystemPromptVariables()} onClose={() => (systemPromptModalOpen = false)} /> {/if} {#if heartbeatRun !== null} {#key heartbeatRun.id} store.watchConversation(conversationId)} closeChat={(conversationId) => store.unwatchConversation(conversationId)} stopRun={(runId) => store.stopHeartbeatRun(runId)} onClose={() => (heartbeatRun = null)} apiBaseUrl={store.httpBase} /> {/key} {/if}