-
Notifications
You must be signed in to change notification settings - Fork 52.8k
fix(gateway): default Telegram to final-answer-first #54742
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 all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
cf22087
fix(gateway): default Telegram to final-answer-first
evgyur cfedcf1
fix(gateway): keep raw Telegram config final-only
evgyur 4696a2e
test(gateway): cover Telegram cleanup defaults
evgyur 6e106d4
fix(gateway): guard cleanup capability lookup
evgyur 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -120,16 +120,18 @@ | |
|
|
||
| _PLATFORM_DEFAULTS: dict[str, dict[str, Any]] = { | ||
| # Tier 1 — full edit support, personal/team use | ||
| # Telegram is usually a mobile inbox: keep tool_progress quiet and skip | ||
| # the verbose busy-ack iteration counter, but DO surface real mid-turn | ||
| # assistant commentary (interim_assistant_messages) and DO send periodic | ||
| # heartbeats (long_running_notifications) so the user has signal between | ||
| # turn start and final answer. Otherwise it looks like "typing..." for | ||
| # 30 minutes with nothing happening. Opt in to verbose iteration detail | ||
| # via display.platforms.telegram.busy_ack_detail / tool_progress. | ||
| # Telegram is usually a durable mobile inbox. Bot-authored progress and | ||
| # interim assistant/commentary fragments stay in chat history and can look | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Current main addresses durable-chat noise without disabling the liveness signal: |
||
| # like leaked internal state or the wrong identity when mirrored through | ||
| # userbot/Business tooling. Default to final-answer-first; users can opt in | ||
| # explicitly per platform. | ||
| "telegram": { | ||
| **_TIER_HIGH, | ||
| "streaming": False, | ||
| "tool_progress": "off", | ||
| "interim_assistant_messages": False, | ||
| "long_running_notifications": False, | ||
| "cleanup_progress": True, | ||
| "busy_ack_detail": False, | ||
| }, | ||
| # Discord has a native "subtext" primitive (-# small grey text) that reads | ||
|
|
||
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.
This reverses the explicit maintainer decision in
0325e18f(#33187): Telegram should retain real mid-turn commentary because suppressing it left users with only a typing indicator during long turns. The existing per-platform setting already lets users opt out.