Skip to content

Commit

Permalink
new lines?
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbion committed Feb 18, 2024
1 parent 2112659 commit 6aa197b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tools/impl/read_file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const read_file = async (context: ToolContext, filename: string, encoding?: Buff

context.onProgress({
type: 'inlineContentReference',
title: `Agent called \`read_file('${filePath}')\`\n\n`,
title: `\nAgent called \`read_file('${filePath}')\`\n`,
inlineReference: filePath,
});

Expand Down
2 changes: 1 addition & 1 deletion src/tools/impl/write_file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const write_file = async (context: ToolContext, filename: string, contents: stri

context.onProgress({
type: 'inlineContentReference',
title: `write_file(${filename})\n\n`,
title: `\nwrite_file(${filename})\n`,
inlineReference: filePath,
});
};
Expand Down

0 comments on commit 6aa197b

Please sign in to comment.