(_, otherData)
| 15 | }; |
| 16 | |
| 17 | const codestralFullFileEditPrompt: PromptTemplateFunction = (_, otherData) => { |
| 18 | return dedent` |
| 19 | \`\`\`${otherData.language} |
| 20 | ${otherData.codeToEdit} |
| 21 | \`\`\` |
| 22 | |
| 23 | Please rewrite the above file to address the following request: |
| 24 | |
| 25 | ${otherData.userInput} |
| 26 | |
| 27 | You should rewrite the entire file without any natural language explanation. DO NOT surround the code in a code block and DO NOT explain yourself.`; |
| 28 | }; |
| 29 | |
| 30 | export const codestralEditPrompt: PromptTemplateFunction = ( |
| 31 | history, |
no test coverage detected