diff --git a/apps/web-remix/app/components/chat/Webchat.tsx b/apps/web-remix/app/components/chat/Webchat.tsx
index 4834e2d72..a4ae98ea2 100644
--- a/apps/web-remix/app/components/chat/Webchat.tsx
+++ b/apps/web-remix/app/components/chat/Webchat.tsx
@@ -271,20 +271,22 @@ ${JSON.stringify(files)}
className={cn('max-w-[820px] mx-auto', {
hidden:
!!messages.length ||
- !pipeline.interface_config.suggested_messages.length,
+ !(pipeline.interface_config.suggested_messages || []).length,
})}
>
- {pipeline.interface_config.suggested_messages.map((msg, index) => {
- return (
-
- );
- })}
+ {(pipeline.interface_config.suggested_messages || []).map(
+ (msg, index) => {
+ return (
+
+ );
+ },
+ )}