From f29d4f24383508e57d16ea0602f8b2a4767cd681 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Sun, 1 Jun 2025 22:20:05 -0400 Subject: [PATCH] Fix typo in tool use prompt --- .../__snapshots__/system.test.ts.snap | 26 +++++++++---------- src/core/prompts/sections/tool-use.ts | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap b/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap index 705e0a8e89..888f44814a 100644 --- a/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap +++ b/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap @@ -25,7 +25,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -519,7 +519,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -1013,7 +1013,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -1507,7 +1507,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -2057,7 +2057,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -2619,7 +2619,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -3169,7 +3169,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -3751,7 +3751,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -4287,7 +4287,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -4858,7 +4858,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -5343,7 +5343,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -5745,7 +5745,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code @@ -6325,7 +6325,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code diff --git a/src/core/prompts/sections/tool-use.ts b/src/core/prompts/sections/tool-use.ts index 6db7bb4145..ea27e5916a 100644 --- a/src/core/prompts/sections/tool-use.ts +++ b/src/core/prompts/sections/tool-use.ts @@ -15,7 +15,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X ... -For example, to use the read_file tool: +For example, to use the new_task tool: code