Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(systemPrompt.ts): small typo fix in systemPrompt #35

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/helpers/systemPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const systemPrompt = `You take a prompt and existing unit tests and gener

2. Emit a markdown code block with production-ready generated code (function that satisfies all the tests and the prompt).
- Be sure your code exports function that can be called by an external test file.
- Make sure your code is reusable and not overly hardcoded to match the promt.
- Make sure your code is reusable and not overly hardcoded to match the prompt.
- Use two spaces for indents. Add logs if helpful for debugging, you will get the log output on your next try to help you debug.
- Always return a complete code snippet that can execute, nothing partial and never say "rest of your code" or similar, I will copy and paste your code into my file without modification, so it cannot have gaps or parts where you say to put the "rest of the code" back in.
- Do not emit tests, just the function implementation.
Expand Down
Loading