Skip to content

Commit 90aa155

Browse files
committed
fix: pass params when saving a temporary chat
The system prompt and other chat controls overrides were lost after saving because `params` wasn't included in the `createNewChat` call.
1 parent 7214496 commit 90aa155

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/components/chat/Chat.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2730,6 +2730,7 @@
27302730
id: uuidv4(),
27312731
title: title.length > 50 ? `${title.slice(0, 50)}...` : title,
27322732
models: selectedModels,
2733+
params: params,
27332734
history: history,
27342735
messages: messages,
27352736
timestamp: Date.now()

0 commit comments

Comments
 (0)