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.
This commit is contained in:
@@ -2724,6 +2724,7 @@
|
|||||||
id: uuidv4(),
|
id: uuidv4(),
|
||||||
title: title.length > 50 ? `${title.slice(0, 50)}...` : title,
|
title: title.length > 50 ? `${title.slice(0, 50)}...` : title,
|
||||||
models: selectedModels,
|
models: selectedModels,
|
||||||
|
params: params,
|
||||||
history: history,
|
history: history,
|
||||||
messages: messages,
|
messages: messages,
|
||||||
timestamp: Date.now()
|
timestamp: Date.now()
|
||||||
|
|||||||
Reference in New Issue
Block a user