MCPcopy
hub / github.com/continuedev/continue / codestralFullFileEditPrompt

Function codestralFullFileEditPrompt

core/llm/templates/edit/codestral.ts:17–28  ·  view source on GitHub ↗
(_, otherData)

Source from the content-addressed store, hash-verified

15};
16
17const 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
30export const codestralEditPrompt: PromptTemplateFunction = (
31 history,

Callers 1

codestralEditPromptFunction · 0.85

Calls 1

dedentFunction · 0.90

Tested by

no test coverage detected