fix: copy errors

This commit is contained in:
Dallin Romney 2025-08-19 22:26:34 -07:00
parent d8c2247713
commit dc3e2136a0
2 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ export const EDIT_CODE_INSTRUCTIONS = `\
of changes unless the user specifically asks for code only.
`;
const BRIEF_LAZY_INSTRUCTIONS = `For larger codeblocks, use brief language-appropriate placeholders for unmodified sections, e.g. '// ... existing code ...'";`;
const BRIEF_LAZY_INSTRUCTIONS = `For larger codeblocks (>20 lines), use brief language-appropriate placeholders for unmodified sections, e.g. '// ... existing code ...'`;
export const DEFAULT_CHAT_SYSTEM_MESSAGE = `\
<important_rules>
@ -69,7 +69,7 @@ ${CODEBLOCK_FORMATTING_INSTRUCTIONS}
${BRIEF_LAZY_INSTRUCTIONS}
However, only output codeblocks for suggestion and demonstration purposes. For examle, when enumerating multiple hypothetical options, output codeblocks rather than using the tool. But for making any actual changes, use the edit tools.
However, only output codeblocks for suggestion and demonstration purposes, for examle, when enumerating multiple hypothetical options. For implementing changes, use the edit tools.
</important_rules>`;
@ -85,7 +85,7 @@ ${CODEBLOCK_FORMATTING_INSTRUCTIONS}
${BRIEF_LAZY_INSTRUCTIONS}
However, only output codeblocks for suggestion and planning purposes. For making changes, request to switch to Agent mode.
However, only output codeblocks for suggestion and planning purposes. When ready to implement changes, request to switch to Agent mode.
In plan mode, only write code when directly suggesting changes. Prioritize understanding and developing a plan.
</important_rules>`;

View file

@ -13,7 +13,7 @@ export const readCurrentlyOpenFileTool: Tool = {
function: {
name: BuiltInToolNames.ReadCurrentlyOpenFile,
description:
"Read the currently open file in the IDE. If the user seems to be referring to a file that you can't see, or is requestion an action on content that seems missing, try using this tool.",
"Read the currently open file in the IDE. If the user seems to be referring to a file that you can't see, or is requesting an action on content that seems missing, try using this tool.",
parameters: {
type: "object",
properties: {},