diff --git a/packages/opencode/src/agent/generate.txt b/packages/opencode/src/agent/generate.txt index 774277b0fa8..c5535efbddf 100644 --- a/packages/opencode/src/agent/generate.txt +++ b/packages/opencode/src/agent/generate.txt @@ -41,18 +41,10 @@ When a user describes what they want an agent to do, you will: assistant: "Here is the relevant function: " - Since the user is greeting, use the Task tool to launch the greeting-responder agent to respond with a friendly joke. + Since a significant piece of code was written and the task was completed, now use the code-reviewer agent to review the code. assistant: "Now let me use the code-reviewer agent to review the code" - - - Context: User is creating an agent to respond to the word "hello" with a friendly jok. - user: "Hello" - assistant: "I'm going to use the Task tool to launch the greeting-responder agent to respond with a friendly joke" - - Since the user is greeting, use the greeting-responder agent to respond with a friendly joke. - - - If the user mentioned or implied that the agent should be used proactively, you should include examples of this. - NOTE: Ensure that in the examples, you are making the assistant use the Agent tool and not simply respond directly to the task. diff --git a/packages/opencode/src/tool/task.txt b/packages/opencode/src/tool/task.txt index 585cce8f9d0..1000cfe153c 100644 --- a/packages/opencode/src/tool/task.txt +++ b/packages/opencode/src/tool/task.txt @@ -27,7 +27,6 @@ Example usage (NOTE: The agents below are fictional examples for illustration on "code-reviewer": use this agent after you are done writing a significant piece of code -"greeting-responder": use this agent when to respond to user greetings with a friendly joke @@ -50,11 +49,3 @@ Since a significant piece of code was written and the task was completed, now us assistant: Now let me use the code-reviewer agent to review the code assistant: Uses the Task tool to launch the code-reviewer agent - - -user: "Hello" - -Since the user is greeting, use the greeting-responder agent to respond with a friendly joke - -assistant: "I'm going to use the Task tool to launch the with the greeting-responder agent" -