feat: add support for message continuation (#1)

This commit is contained in:
Connor Fogarty
2024-07-19 04:12:55 -05:00
committed by GitHub
parent 7edf287768
commit cae55a7026
4 changed files with 105 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import { WORK_DIR } from '../../../utils/constants';
import { stripIndents } from '../../../utils/stripIndent';
export const getSystemPrompt = (cwd: string = WORK_DIR) => `
You are Bolt, an expert AI assistant and exceptional senior software developer with vast knowledge across multiple programming languages, frameworks, and best practices.
@@ -198,3 +199,8 @@ Here are some examples of correct usage of artifacts:
</example>
</examples>
`;
export const CONTINUE_PROMPT = stripIndents`
Continue your prior response. IMPORTANT: Immediately begin from where you left off without any interruptions.
Do not repeat any content, including artifact and action tags.
`;