feat(agents): add working summary tool feedback#2778
Open
bogdanovich wants to merge 9 commits intosipeed:mainfrom
Open
feat(agents): add working summary tool feedback#2778bogdanovich wants to merge 9 commits intosipeed:mainfrom
bogdanovich wants to merge 9 commits intosipeed:mainfrom
Conversation
5b2833f to
62654a8
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add a
working_summarytool feedback style for chat channels. This mode shows a compact temporary progress message such as:The message is edited in place while the turn is running and cleaned up when the final response is delivered. Tool names are rendered as code, and raw arguments/results are intentionally omitted to keep progress readable and avoid exposing sensitive values.
This complements the existing raw/default feedback style: existing behavior remains unchanged unless
styleis set toworking_summary.Follow-up fixes included
This PR also includes the feedback lifecycle fixes needed for long-running and subagent turns:
SessionKey, so a parent turn and subagent turn do not overwrite each otherDeep Research working...agents.defaults.tool_feedback.subagentsso subagent feedback can be disabled independently while main-turn feedback stays enabledThe Telegram edit-rate throttling experiment is intentionally not included here; that should be a separate, configurable change if we upstream it.
Configuration
{ "agents": { "defaults": { "tool_feedback": { "enabled": true, "style": "working_summary", "subagents": true } } } }Set
subagentstofalseto keep main chat feedback visible while suppressing visible tool feedback from subagent turns. The default istruefor backward compatibility.Testing
go test ./pkg/utils ./pkg/channels ./pkg/channels/telegram ./pkg/config ./pkg/agent