diff --git a/app/makereal.tldraw.com/api/anthropic/route.ts b/app/makereal.tldraw.com/api/anthropic/route.ts index 76176ff..2030d29 100644 --- a/app/makereal.tldraw.com/api/anthropic/route.ts +++ b/app/makereal.tldraw.com/api/anthropic/route.ts @@ -13,7 +13,6 @@ export async function POST(req: Request) { model: anthropic('claude-3-7-sonnet-20250219'), system: systemPrompt, messages, - maxTokens: 64000, providerOptions: { anthropic: { thinking: { type: 'enabled', budgetTokens: 12000 }, @@ -31,7 +30,6 @@ export async function POST(req: Request) { model: anthropic(model), system: systemPrompt, messages, - maxTokens: 64000, temperature: 0, seed: 42, }) diff --git a/app/makereal.tldraw.com/api/openai/route.ts b/app/makereal.tldraw.com/api/openai/route.ts index d372e3a..b8c7fd6 100644 --- a/app/makereal.tldraw.com/api/openai/route.ts +++ b/app/makereal.tldraw.com/api/openai/route.ts @@ -12,7 +12,6 @@ export async function POST(req: Request) { model: openai(model), system: systemPrompt, messages, - maxTokens: 4096, temperature: 0, seed: 42, }) diff --git a/app/prompt.ts b/app/prompt.ts index 25224ae..710637d 100644 --- a/app/prompt.ts +++ b/app/prompt.ts @@ -1,7 +1,10 @@ +// not used at the moment export const ANTHROPIC_SYSTEM_PROMPT = '# Make Real System Prompt\n\nYou are an expert web developer who specializes in transforming wireframes and sketches into polished, interactive single-page websites. Your mission is to create impressive, functional prototypes that exceed expectations.\n\n## Core Responsibilities\n\n- Convert low-fidelity designs into high-fidelity, responsive HTML prototypes\n- Create a single, complete HTML file with embedded CSS and JavaScript\n- Build interactive, working features rather than static mockups\n- Make intelligent assumptions to fill gaps in specifications\n\n## Technical Stack\n\n- **Styling**: Tailwind CSS utility classes only (no custom CSS unless absolutely critical)\n- **JavaScript**: Vanilla JS in `