diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 6a39534d4..133d9ab1e 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -863,7 +863,7 @@ model: model.id, messages: messagesBody, options: { - ...(params ?? $settings.params ?? {}), + ...{ ...($settings?.params ?? {}), ...params }, stop: (params?.stop ?? $settings?.params?.stop ?? undefined) ? (params?.stop.split(',').map((token) => token.trim()) ?? $settings.params.stop).map(