fix(slack): keep replies short with a real max size - #1685
Draft
sentry-junior[bot] wants to merge 4 commits into
Draft
fix(slack): keep replies short with a real max size#1685sentry-junior[bot] wants to merge 4 commits into
sentry-junior[bot] wants to merge 4 commits into
Conversation
Steer every platform reply with the real inline budget from slackOutputPolicy so Slack and local output share one hard max. Keep the soft 800-character target, and prefer a canvas or short summary over multi-message dumps. Co-Authored-By: David Cramer <david@sentry.io>
Cut the hard inline budget from 2200/45 to 1200 chars and 12 lines so Slack replies stay short. Prompt steering reads the same policy for every platform. Co-Authored-By: David Cramer <david@sentry.io>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The tighter inline budget splits long resumed replies into more posts. Drive the resume continuation test from slackOutputPolicy instead of a fixed 5-message expectation.
One shared length rule for every platform. Soft target stays under 800 characters; hard max still comes from slackOutputPolicy. Co-Authored-By: David Cramer <david@sentry.io>
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.
45-line Slack replies are too long for chat.
Hard max is now 1200 characters and 12 lines from
slackOutputPolicy. Soft target stays under 800 characters. One short prompt rule steers every platform with those numbers.This change does not reject long model output. Delivery still splits when needed. Reject/retry for oversized replies is not built yet; the closest existing agent pattern is empty-output retry after history replacement.
Overflow threading under the first message landed in #1684.
Requested by David Cramer.
--
View Junior Session [Sentry]