diff --git a/frontend/src/services/actions.ts b/frontend/src/services/actions.ts index b2a976161d45..e235218df5af 100644 --- a/frontend/src/services/actions.ts +++ b/frontend/src/services/actions.ts @@ -38,7 +38,10 @@ const messageActions = { store.dispatch( addUserMessage({ content: message.args.content, - imageUrls: [], + imageUrls: + typeof message.args.image_urls === "string" + ? [message.args.image_urls] + : message.args.image_urls, timestamp: message.timestamp, pending: false, }),