forked from denoland/std
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56d5e34
commit d9528d5
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
# drone that summarizes threads | ||
config: | ||
toolChoice: required | ||
commands: | ||
- thread:messages # read a thread into context with size limits | ||
- thread:topic # read the title and summary of the thread | ||
- topic:update # write a new title and summary into the thread | ||
- util:noop # call this function if no changes are required | ||
--- | ||
|
||
Given the limits provided, retrieve messages then retrieve topic, consider messages and topic, consider if there is a topic change. If there is, call topic update with the new topic, otherwise call noop to exit with no changes. |