#20674: fix #20495 & #20515: configure UX + Telegram media group fixes
channel: telegram
commands
size: XS
Cluster:
Messaging Platform Improvements
## Summary
Two fixes:
1. **#20495**: Add ESC exit hint to configure menu
2. **#20515**: Add warning log when no media resolves from Telegram media group
## Changes
- `src/commands/configure.wizard.ts`: Added "(ESC to exit)" hint to the configure section selection menu.
- `src/telegram/bot-handlers.ts`: Added warning log when all media in a group fail to resolve.
## Testing
- [x] Code compiles and passes format check
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
This PR includes three small bug fixes:
- **#20495**: Added "(ESC to exit)" hint to the configure wizard's section selection menu to improve UX by making it clearer how to exit the wizard
- **#20515**: Added warning log when all media in a Telegram media group fail to resolve, helping with debugging media processing issues
- **#20566**: Changed `ModelProviderSchema` from `.strict()` to `.catchall(z.unknown())` to allow unknown fields in provider configurations, preventing validation errors when providers include extra fields
All changes are minimal, focused, and address specific reported issues. The Telegram warning is informational only and doesn't change behavior. The zod schema change improves flexibility without compromising validation of known fields.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk
- All three changes are minimal, well-scoped bug fixes that address specific issues. The UX improvement is a simple string change, the warning log is informational only and doesn't alter control flow, and the zod schema change intentionally relaxes validation to accept unknown fields which is the stated goal of #20566. No logical errors, security issues, or breaking changes detected.
- No files require special attention
<sub>Last reviewed commit: 4c99820</sub>
<!-- greptile_other_comments_section -->
<!-- /greptile_comment -->
Most Similar PRs
#22434: feat(telegram): support sending original quality images
by godenjan · 2026-02-21
78.0%
#14057: feat(telegram): add ignoreMediaTypes config to skip specific inboun...
by pavelsamoylenko · 2026-02-11
77.5%
#19399: telegram: fix MEDIA false positives and partial final drop
by HOYALIM · 2026-02-17
77.3%
#19241: docs(telegram): fix 5 discrepancies between docs and config schema
by Artzainnn · 2026-02-17
76.4%
#10943: fix(config): resolve Control UI "Unsupported schema node" for confi...
by kraftbj · 2026-02-07
76.3%
#19942: feat(telegram): configurable SSRF policy for media fetch
by onewesong · 2026-02-18
76.1%
#16102: Fix: Telegram Inline Button Support for Exec Approvals (builds on #...
by RoguePhoenix117 · 2026-02-14
75.6%
#16548: fix(telegram): enhance chat_id validation and diagnostics
by tanujbhaud · 2026-02-14
74.8%
#7261: fix(telegram): preserve DM topic thread id for outbound media
by ViffyGwaanl · 2026-02-02
74.8%
#6457: fix(telegram): register commands for group scope + preserve topic t...
by dae-sun · 2026-02-01
74.5%