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
This commit is contained in:
KevIsDev
2025-07-01 10:42:20 +01:00
parent d0d9818964
commit a3fa024686

View File

@@ -4,7 +4,9 @@ import type { Template } from '~/types/template';
import { STARTER_TEMPLATES } from './constants'; import { STARTER_TEMPLATES } from './constants';
const starterTemplateSelectionPrompt = (templates: Template[]) => ` 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: Available templates:
<template> <template>