Skip to content

Commit fe837d8

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 860a0b4 commit fe837d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/components/chat/Chat.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2724,6 +2724,7 @@
27242724
id: uuidv4(),
27252725
title: title.length > 50 ? `${title.slice(0, 50)}...` : title,
27262726
models: selectedModels,
2727+
params: params,
27272728
history: history,
27282729
messages: messages,
27292730
timestamp: Date.now()

0 commit comments

Comments
 (0)