Skip to content

Commit 5e6a2bf

Browse files
committed
adding back the text for tool use
1 parent 9a1c3d3 commit 5e6a2bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/extension/prompts/node/agent/openai/gpt51CodexPrompt.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ class Gpt51CodexPrompt extends PromptElement<DefaultAgentPromptProps> {
4848
- Do not try to parallelize using scripting or anything else than `multi_tool_use.parallel`.<br />
4949
</Tag>
5050
<Tag name='tool_use'>
51-
- {tools[ToolName.CoreManageTodoList] && <>
51+
- You have access to many tools. If a tool exists to perform a specific task, you MUST use that tool instead of running a terminal command to perform that task.<br />
52+
{tools[ToolName.CoreRunTest] && <>- Use the {ToolName.CoreRunTest} tool to run tests instead of running terminal commands.<br /></>}
53+
{tools[ToolName.CoreManageTodoList] && <>
5254
<br />
5355
## {ToolName.CoreManageTodoList} tool<br />
5456
<br />

0 commit comments

Comments
 (0)