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:
Algorithm5838
2026-03-02 01:34:50 +03:00
parent 860a0b414e
commit fe837d80e7
+1
View File
@@ -2724,6 +2724,7 @@
id: uuidv4(),
title: title.length > 50 ? `${title.slice(0, 50)}...` : title,
models: selectedModels,
params: params,
history: history,
messages: messages,
timestamp: Date.now()