summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-01-13 15:35:52 -0600
committerFrank <[email protected]>2026-01-13 19:51:01 -0500
commitbcdaf7e7791f6b6b81e6a4e04abf5b3e1be5ee91 (patch)
tree10502bf4b5be3276454beb04dfff4c719bdf3bf3
parent874e22a04556e9aa58cc784256fc34eb02051c97 (diff)
downloadopencode-bcdaf7e7791f6b6b81e6a4e04abf5b3e1be5ee91.tar.gz
opencode-bcdaf7e7791f6b6b81e6a4e04abf5b3e1be5ee91.zip
tweak: prompt for explore agent better
-rw-r--r--packages/opencode/src/tool/truncation.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/tool/truncation.ts b/packages/opencode/src/tool/truncation.ts
index a876705d7..4172b6447 100644
--- a/packages/opencode/src/tool/truncation.ts
+++ b/packages/opencode/src/tool/truncation.ts
@@ -87,7 +87,7 @@ export namespace Truncate {
await Bun.write(Bun.file(filepath), text)
const hint = hasTaskTool(agent)
- ? `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.`
+ ? `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.`
: `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.`
const message =
direction === "head"