Update prompt

This commit is contained in:
Saoud Rizwan
2024-09-22 22:45:44 -04:00
parent ef95f6763a
commit 89cead483c

View File

@@ -251,14 +251,14 @@ const tools = (supportsImages: boolean): Tool[] => [
{
name: "attempt_completion",
description:
"Once you've completed the task, use this tool to present the result to the user. They may respond with feedback if they are not satisfied with the result, which you can use to make improvements and try again.",
"Once you've completed the task, use this tool to present the result to the user. Optionally you may provide a CLI command to showcase the result of your work, but avoid using commands like 'echo' or 'cat' that merely print text. They may respond with feedback if they are not satisfied with the result, which you can use to make improvements and try again.",
input_schema: {
type: "object",
properties: {
command: {
type: "string",
description:
"A CLI command to execute to show a live demo of the result to the user. For example, use 'open index.html' to display a created website. DO NOT use commands like 'echo' or 'cat' that merely print text. This command should be valid for the current operating system. Ensure the command is properly formatted and does not contain any harmful instructions.",
"A CLI command to execute to show a live demo of the result to the user. For example, use 'open index.html' to display a created website. This command should be valid for the current operating system. Ensure the command is properly formatted and does not contain any harmful instructions.",
},
result: {
type: "string",