Skip to content

Commit a44daed

Browse files
authored
Fix typo in tool use prompt (#4220)
1 parent b39080c commit a44daed

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/core/prompts/__tests__/__snapshots__/system.test.ts.snap

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
2525
...
2626
</actual_tool_name>
2727
28-
For example, to use the read_file tool:
28+
For example, to use the new_task tool:
2929
3030
<new_task>
3131
<mode>code</mode>
@@ -519,7 +519,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
519519
...
520520
</actual_tool_name>
521521
522-
For example, to use the read_file tool:
522+
For example, to use the new_task tool:
523523
524524
<new_task>
525525
<mode>code</mode>
@@ -1013,7 +1013,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
10131013
...
10141014
</actual_tool_name>
10151015
1016-
For example, to use the read_file tool:
1016+
For example, to use the new_task tool:
10171017
10181018
<new_task>
10191019
<mode>code</mode>
@@ -1507,7 +1507,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
15071507
...
15081508
</actual_tool_name>
15091509
1510-
For example, to use the read_file tool:
1510+
For example, to use the new_task tool:
15111511
15121512
<new_task>
15131513
<mode>code</mode>
@@ -2057,7 +2057,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
20572057
...
20582058
</actual_tool_name>
20592059
2060-
For example, to use the read_file tool:
2060+
For example, to use the new_task tool:
20612061
20622062
<new_task>
20632063
<mode>code</mode>
@@ -2619,7 +2619,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
26192619
...
26202620
</actual_tool_name>
26212621
2622-
For example, to use the read_file tool:
2622+
For example, to use the new_task tool:
26232623
26242624
<new_task>
26252625
<mode>code</mode>
@@ -3169,7 +3169,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
31693169
...
31703170
</actual_tool_name>
31713171
3172-
For example, to use the read_file tool:
3172+
For example, to use the new_task tool:
31733173
31743174
<new_task>
31753175
<mode>code</mode>
@@ -3751,7 +3751,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
37513751
...
37523752
</actual_tool_name>
37533753
3754-
For example, to use the read_file tool:
3754+
For example, to use the new_task tool:
37553755
37563756
<new_task>
37573757
<mode>code</mode>
@@ -4287,7 +4287,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
42874287
...
42884288
</actual_tool_name>
42894289
4290-
For example, to use the read_file tool:
4290+
For example, to use the new_task tool:
42914291
42924292
<new_task>
42934293
<mode>code</mode>
@@ -4858,7 +4858,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
48584858
...
48594859
</actual_tool_name>
48604860
4861-
For example, to use the read_file tool:
4861+
For example, to use the new_task tool:
48624862
48634863
<new_task>
48644864
<mode>code</mode>
@@ -5343,7 +5343,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
53435343
...
53445344
</actual_tool_name>
53455345
5346-
For example, to use the read_file tool:
5346+
For example, to use the new_task tool:
53475347
53485348
<new_task>
53495349
<mode>code</mode>
@@ -5745,7 +5745,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
57455745
...
57465746
</actual_tool_name>
57475747
5748-
For example, to use the read_file tool:
5748+
For example, to use the new_task tool:
57495749
57505750
<new_task>
57515751
<mode>code</mode>
@@ -6325,7 +6325,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
63256325
...
63266326
</actual_tool_name>
63276327
6328-
For example, to use the read_file tool:
6328+
For example, to use the new_task tool:
63296329
63306330
<new_task>
63316331
<mode>code</mode>

src/core/prompts/sections/tool-use.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Tool uses are formatted using XML-style tags. The tool name itself becomes the X
1515
...
1616
</actual_tool_name>
1717
18-
For example, to use the read_file tool:
18+
For example, to use the new_task tool:
1919
2020
<new_task>
2121
<mode>code</mode>

0 commit comments

Comments
 (0)