New Chat | thom.chat
{#if prompt.current.length === 0 && openRouterKeyQuery.data}

Hey there {session.current?.user.name ? ` ${session.current?.user.name}` : ''}!

{#each Object.entries(suggestionCategories) as [category, opts] (category)} {/each}
{#if selectedCategory && suggestionCategories[selectedCategory]} {#each suggestionCategories[selectedCategory]?.suggestions ?? [] as suggestion (suggestion)}
{/each} {:else} {#each defaultSuggestions as suggestion}
{/each} {/if}
{:else if !openRouterKeyQuery.data && !openRouterKeyQuery.isLoading}

Hey there, {session.current?.user.name}!

You can send some free messages, or provide a key for limitless access.
Go to settings

{/if}