mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Add cwd to system prompt
This commit is contained in:
1 file changed
+3
-2
+3
-2
@@ -27,13 +27,14 @@ export async function makeSystemPrompt(opts: MakeSystemPromptOpts): Promise<stri
|
||||
day: "numeric",
|
||||
});
|
||||
|
||||
system += `\n\nThe current date is ${currentDate}.`;
|
||||
|
||||
// Add Your Environment section
|
||||
system += `\n\n# Your Environment
|
||||
|
||||
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**: ${currentDate}
|
||||
- **Current Working Directory**: ${cwd}
|
||||
|
||||
## What Shakespeare Is
|
||||
|
||||
Shakespeare is a web-based development environment where users can build Nostr websites and applications by chatting with an AI assistant (you). The platform combines the power of AI-driven development with a user-friendly interface that requires no coding knowledge from the user.
|
||||
|
||||
Reference in new issue
Block a user