Skip to content

Commit bcdaf7e

Browse files
rekram1-nodefwang
authored andcommitted
tweak: prompt for explore agent better
1 parent 874e22a commit bcdaf7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/tool/truncation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export namespace Truncate {
8787
await Bun.write(Bun.file(filepath), text)
8888

8989
const hint = hasTaskTool(agent)
90-
? `The tool call succeeded but the output was truncated. Full output saved to: ${filepath}\nUse the Task tool to have a subagent process this file with Grep and Read (with offset/limit). Do NOT read the full file yourself - delegate to save context.`
90+
? `The tool call succeeded but the output was truncated. Full output saved to: ${filepath}\nUse the Task tool to have explore agent process this file with Grep and Read (with offset/limit). Do NOT read the full file yourself - delegate to save context.`
9191
: `The tool call succeeded but the output was truncated. Full output saved to: ${filepath}\nUse Grep to search the full content or Read with offset/limit to view specific sections.`
9292
const message =
9393
direction === "head"

0 commit comments

Comments
 (0)