fix deep-clone issue
Browse files- src/routes/+page.svelte +1 -1
src/routes/+page.svelte
CHANGED
@@ -401,7 +401,7 @@
|
|
401 |
id: String(Math.random()),
|
402 |
model: e.target.value,
|
403 |
config: { temperature: 0.5, maxTokens: 2048, streaming: true, jsonMode: false },
|
404 |
-
messages: conversations[0].messages
|
405 |
}
|
406 |
];
|
407 |
}}
|
|
|
401 |
id: String(Math.random()),
|
402 |
model: e.target.value,
|
403 |
config: { temperature: 0.5, maxTokens: 2048, streaming: true, jsonMode: false },
|
404 |
+
messages: [...conversations[0].messages]
|
405 |
}
|
406 |
];
|
407 |
}}
|