refac: show chat menu in temp chat

This commit is contained in:
Timothy J. Baek
2024-10-07 14:28:28 -07:00
parent fe872aa3fc
commit 854024cdf8
3 changed files with 55 additions and 38 deletions

View File

@@ -1935,7 +1935,17 @@
{/if}
<Navbar
{chat}
chat={{
id: $chatId,
chat: {
title: $chatTitle,
models: selectedModels,
system: $settings.system ?? undefined,
params: params,
history: history,
timestamp: Date.now()
}
}}
title={$chatTitle}
bind:selectedModels
shareEnabled={!!history.currentId}