-
Notifications
You must be signed in to change notification settings - Fork 5.9k
pr patch: task tracking for more aggressive compression #3670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 38 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
563fbe2
comiples
katzdave aa43f09
tests
katzdave 9ea702b
context usage fix
katzdave 6bbba20
change overhead
katzdave ff5c9a2
shrink works
katzdave 75c074b
merge
katzdave 52099ce
new prompt
katzdave f8b37d0
move token counter
katzdave e83cadc
reset changes to mod.rs and agent.rs to focus on summarization algorithm
katzdave 324c511
rm old summarizer
katzdave 5546bef
shrink token counting
katzdave dc668bb
reset token counting
katzdave 7b6f17e
fmt
katzdave c4ec13f
Merge branch 'main' of github.com:block/goose into dkatz/goose-compact2
katzdave e55dc40
Merge branch 'main' of github.com:block/goose into dkatz/goose-compact2
katzdave f71fe31
fix test
katzdave ed54252
Merge branch 'main' of github.com:block/goose into dkatz/goose-compact2
katzdave 970b197
appending to pr: ads auto summarize to one shot (#3600)
michaelneale 0f37623
rm tool call removal fns
katzdave fcf0f27
Merge branch 'main' of github.com:block/goose into dkatz/goose-compact2
katzdave ef432b5
one more unused symbol
katzdave 624e3eb
fmt
katzdave caf4557
split compaction into check fn
katzdave 1c27b65
refactor into agent reply
katzdave ad7ca3d
add logging
katzdave 94dc7a0
fix token reduction
katzdave 46a8ec7
merge
katzdave 0aa079a
fmt tidy up
michaelneale 23162e4
import the right tool, don't rely on wildcard
michaelneale 8342d35
rm debug logs
katzdave 55dd73a
Merge branch 'main' of github.com:block/goose into dkatz/goose-compact2
katzdave 8e04278
merge
katzdave 4b12c2b
rm extra file + clean comments
katzdave 3460009
first task tracking pass
michaelneale 1373e51
Merge branch 'dkatz/goose-compact2' into micn/compact2-task-tracking
michaelneale 69ded6d
tidy
michaelneale 984d240
wording
michaelneale ba798c6
can add a bunch at once
michaelneale fc62ac9
merge conflict
katzdave 97fa0f8
fmt
katzdave b233c74
autocompact splice last message
katzdave 1a1733e
fix threshold
katzdave 2966295
fmt
katzdave 8df19c5
unused
katzdave d8f07ae
rm stray files
katzdave bc187bd
Merge branch 'dkatz/goose-compact2' of github.com:block/goose into mi…
katzdave cb454bf
Merge branch 'dkatz/goose-compact2' into micn/compact2-task-tracking
michaelneale eac17b0
Merge branch 'micn/compact2-task-tracking' of github.com:block/goose …
michaelneale 3d2f60f
change prompt wording
michaelneale File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should really stop doing this. I'm adding a extension_manager.add_client(...) method, we should start using that (also so this tool doesn't show up when we do other things)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah - I don't like this, seems clumsy, and not just code, but need some way to enable/disable these similar to if they were MCP delivered tools?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DOsinga hrm I wonder if this one should be in developer MCP - as that is where it yields most value and it is rarely not enabled (I'm not sure how in future we decide where prefixed tools go)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's keep in general but move it to use extension_manager.add_client(...)