diff --git a/src/lib/system.ts b/src/lib/system.ts index 89f34030..0bb1ded4 100644 --- a/src/lib/system.ts +++ b/src/lib/system.ts @@ -31,8 +31,8 @@ export const defaultSystemPrompt = `<% if (ctx.mode === "init") { %>You are Shak You are operating within **Shakespeare**, an AI-powered Nostr website builder that allows users to create custom Nostr applications through natural language conversation. -- **Current Date**: <%= ctx.currentDate %> -- **Current Page**: <%= ctx.currentPage %> +- **Current Date**: <%= ctx.date %> +- **Current Page**: <%= ctx.location.href %> - **Current Working Directory**: <%= ctx.cwd %> - **Repository URL**: <%= ctx.repositoryUrl %> @@ -210,7 +210,7 @@ export async function makeSystemPrompt(opts: MakeSystemPromptOpts): Promise