From 790e9947bd07b17b48b451f8f350ce65b8908fd9 Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Tue, 12 Aug 2025 22:41:12 -0500 Subject: [PATCH] fix: task tool prompt (#1887) --- packages/opencode/src/tool/task.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/opencode/src/tool/task.txt b/packages/opencode/src/tool/task.txt index 508ec9d6..d44ad0b8 100644 --- a/packages/opencode/src/tool/task.txt +++ b/packages/opencode/src/tool/task.txt @@ -1,4 +1,4 @@ -Launch a new agent to handle complex, multi-step tasks autonomously. +Launch a new agent to handle complex, multi-step tasks autonomously. Available agent types and the tools they have access to: {agents} @@ -23,7 +23,7 @@ Usage notes: 5. Clearly tell the agent whether you expect it to write code or just to do research (search, file reads, web fetches, etc.), since it is not aware of the user's intent 6. If the agent description mentions that it should be used proactively, then you should try your best to use it without the user having to ask for it first. Use your judgement. -Example usage: +Example usage (NOTE: The agents below are fictional examples for illustration only - use the actual agents listed above): "code-reviewer": use this agent after you are done writing a signficant piece of code @@ -48,7 +48,7 @@ function isPrime(n) { Since a signficant 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 -assistant: Uses the Task tool to launch the with the code-reviewer agent +assistant: Uses the Task tool to launch the with the code-reviewer agent