diff --git a/app/components/chat/Chat.client.tsx b/app/components/chat/Chat.client.tsx index aa89e8c8a..135dc8fcc 100644 --- a/app/components/chat/Chat.client.tsx +++ b/app/components/chat/Chat.client.tsx @@ -297,7 +297,15 @@ export const ChatImpl = memo( }); if (template !== 'blank') { - const temResp = await getTemplates(template, title); + const temResp = await getTemplates(template, title).catch((e) => { + if (e.message.includes('rate limit')) { + toast.warning('Rate limit exceeded. Skipping starter template\n Continuing with blank template'); + } else { + toast.warning('Failed to import starter template\n Continuing with blank template'); + } + + return null; + }); if (temResp) { const { assistantMessage, userMessage } = temResp;