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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user