Timothy J. Baek 10 months ago
parent
commit
9504c9c9b4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/components/chat/Chat.svelte

+ 2 - 2
src/lib/components/chat/Chat.svelte

@@ -591,7 +591,7 @@
 								: undefined
 								: undefined
 						)}${
 						)}${
 							responseMessage?.userContext ?? null
 							responseMessage?.userContext ?? null
-								? `\n\nUser Context:\n${(responseMessage?.userContext ?? []).join('\n')}`
+								? `\n\nUser Context:\n${responseMessage?.userContext ?? ''}`
 								: ''
 								: ''
 						}`
 						}`
 				  }
 				  }
@@ -932,7 +932,7 @@
 											: undefined
 											: undefined
 									)}${
 									)}${
 										responseMessage?.userContext ?? null
 										responseMessage?.userContext ?? null
-											? `\n\nUser Context:\n${(responseMessage?.userContext ?? []).join('\n')}`
+											? `\n\nUser Context:\n${responseMessage?.userContext ?? ''}`
 											: ''
 											: ''
 									}`
 									}`
 							  }
 							  }