Browse Source

Fix typo in tool use prompt (#4220)

Matt Rubens 9 months ago
parent
commit
a44daed595

+ 13 - 13
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
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -519,7 +519,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -1013,7 +1013,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -1507,7 +1507,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -2057,7 +2057,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -2619,7 +2619,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -3169,7 +3169,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -3751,7 +3751,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -4287,7 +4287,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -4858,7 +4858,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -5343,7 +5343,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -5745,7 +5745,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>
@@ -6325,7 +6325,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>

+ 1 - 1
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
 ...
 </actual_tool_name>
 
-For example, to use the read_file tool:
+For example, to use the new_task tool:
 
 <new_task>
 <mode>code</mode>