Skip to content

Commit 8d21d58

Browse files
refine tool format
1 parent 6bdbd95 commit 8d21d58

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

lib/prompts/compress.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,14 @@ PARALLEL COMPRESS EXECUTION
5858
When multiple independent ranges are ready and their boundaries do not overlap, launch MULTIPLE `compress` calls in parallel in a single response. Run compression sequentially only when ranges overlap or when a later range depends on the result of an earlier compression.
5959

6060
THE FORMAT OF COMPRESS
61-
`topic`: Short label (3-5 words) for display - e.g., "Auth System Exploration"
62-
`content`: Object containing:
63-
`startString`: Unique text string marking the beginning of the range
64-
`endString`: Unique text string marking the end of the range
65-
`summary`: Complete technical summary replacing all content in the range
61+
62+
```
63+
{
64+
topic: string, // Short label (3-5 words) - e.g., "Auth System Exploration"
65+
content: {
66+
startString: string, // Unique text string marking the beginning of the range
67+
endString: string, // Unique text string marking the end of the range
68+
summary: string // Complete technical summary replacing all content in the range
69+
}
70+
}
71+
```

0 commit comments

Comments
 (0)