{#await ae_promises}
Processing...
{:then}
Summarize
{:catch}
Error
{/await}
{ active_tab = 'settings'; show_modal = true; }} class="btn btn-sm preset-tonal-surface shadow-md" title="AI Settings">
{#if show_modal}
(active_tab = 'result')}>
Result
(active_tab = 'settings')}>
Settings
{#if active_tab === 'result'}
Save Result
Re-run
{:else}
API Connection
{#if onSyncConfig}
Sync Global Defaults
{/if}
Base URL
Model
API Token
(show_api_token = !show_api_token)} title={show_api_token ? 'Hide API Token' : 'Show API Token'}> {#if show_api_token}
{:else}
{/if}
Inference Parameters
Temperature ({temperature})
Max Tokens
System Prompt
{/if}
{/if}