diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index cad42111d..1f8fd9827 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -591,7 +591,7 @@ : undefined )}${ responseMessage?.userContext ?? null - ? `\n\nUser Context:\n${(responseMessage?.userContext ?? []).join('\n')}` + ? `\n\nUser Context:\n${responseMessage?.userContext ?? ''}` : '' }` } @@ -932,7 +932,7 @@ : undefined )}${ responseMessage?.userContext ?? null - ? `\n\nUser Context:\n${(responseMessage?.userContext ?? []).join('\n')}` + ? `\n\nUser Context:\n${responseMessage?.userContext ?? ''}` : '' }` }