diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 9cc7f9526..daf4b0096 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -64,7 +64,7 @@ role: 'user', content: userPrompt, ...(history.messages[messageId].files && { files: history.messages[messageId].files }), - models: selectedModels.filter((m, mIdx) => selectedModels.indexOf(m) === mIdx) + models: selectedModels }; let messageParentId = history.messages[messageId].parentId;