{#if info}
{#key info}
(info = null)}
/>
{/key}
{/if}
{#if folderTarget && (selectedSystemTerminal?.scope !== 'chat' || isSavedChatId(chatId))}
{#key `${$user?.id}:${folderTarget.selector}:${chatId ?? ''}`}
{
if (isSavedChatId(chatId)) {
await updateChatById(localStorage.token, chatId!, { working_directory: path });
}
}}
{disabled}
/>
{/key}
{/if}
{#if showTerminals}
{/if}