{$settings.showChatTitleInTab !== false && $chatTitle ? `${$chatTitle.length > 30 ? `${$chatTitle.slice(0, 30)}...` : $chatTitle} / ${$WEBUI_NAME}` : `${$WEBUI_NAME}`} {#if getChatVariablesForm(selectedModelIds, chatVariables, $models).conflicts.length > 0}
{$i18n.t('Chat Variables')}
{$i18n.t('Selected models define incompatible Chat Variables.')}
{#each getChatVariablesForm(selectedModelIds, chatVariables, $models).conflicts as conflict}
{conflict.key}
{conflict.modelIds.join(', ')}
{/each}
{:else} {/if} { const actions = pendingUrlActions; const url = $page.url.href; pendingUrlActions = null; if (!actions) return; for (const source of actions.urls) { if ($page.url.href !== url) return; await uploadWeb(source); } if (actions.call && $page.url.href === url) openCallOverlay(); }} on:cancel={() => (pendingUrlActions = null)} >
{#if pendingUrlActions?.urls.length}

{$i18n.t('Load content from these URLs?')}

{#each pendingUrlActions.urls as url}

{url}

{/each} {/if} {#if pendingUrlActions?.call}

{$i18n.t('Start a voice call using your microphone?')}

{/if}
{ if (pendingWebSearchPrompt === null) { webSearchEnabled = false; } pendingWebSearchPrompt = null; }} /> { confirmDeleteChat(); }} >
{$i18n.t('This will delete')} {$chatTitle}.
{ if (eventConfirmationInput) { eventCallback(e.detail); } else if (e.detail) { eventCallback(e.detail); } else { eventCallback(true); } }} on:cancel={() => { eventCallback(false); }} /> {#if browserInteraction?.type === 'request:elicitation'} {#key browserInteraction.id} {@const interaction = browserInteraction} resolveBrowserInteraction(interaction, value)} /> {/key} {/if} {#if browserInteraction?.data?.tool_call} {#key browserInteraction.id} {@const interaction = browserInteraction} resolveBrowserInteraction(interaction, true)} on:cancel={() => resolveBrowserInteraction(interaction, false)} >
{interaction.data.tool_call.name}
{JSON.stringify(
						interaction.data.tool_call.arguments,
						null,
						2
					)}
{/key} {/if}