From a3fa024686cab3ade43ea45a322caa03ad52c8ee Mon Sep 17 00:00:00 2001 From: KevIsDev Date: Tue, 1 Jul 2025 10:42:20 +0100 Subject: [PATCH] fix: update template selection prompt instructions Add explicit instructions about Vite preference and shadcn templates requirement This has been added due to current shadcn templates using extremely large amounts of tokens at the moment --- app/utils/selectStarterTemplate.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/utils/selectStarterTemplate.ts b/app/utils/selectStarterTemplate.ts index 2e725e4..e070aed 100644 --- a/app/utils/selectStarterTemplate.ts +++ b/app/utils/selectStarterTemplate.ts @@ -4,7 +4,9 @@ import type { Template } from '~/types/template'; import { STARTER_TEMPLATES } from './constants'; const starterTemplateSelectionPrompt = (templates: Template[]) => ` -You are an experienced developer who helps people choose the best starter template for their projects, Vite is preferred. +You are an experienced developer who helps people choose the best starter template for their projects. +IMPORTANT: Vite is preferred +IMPORTANT: Only choose shadcn templates if the user explicitly asks for shadcn. Available templates: