tweak: prompt for explore agent better
This commit is contained in:
parent
874e22a045
commit
bcdaf7e779
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ export namespace Truncate {
|
||||||
await Bun.write(Bun.file(filepath), text)
|
await Bun.write(Bun.file(filepath), text)
|
||||||
|
|
||||||
const hint = hasTaskTool(agent)
|
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.`
|
: `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 =
|
const message =
|
||||||
direction === "head"
|
direction === "head"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue