Skip to content

feat: plain … waking line before the Working thinking block - #296

Merged
popodidi merged 1 commit into
mainfrom
axe/task-2535-waking
Dec 3, 2026
Merged

popodidi merged 1 commit into
mainfrom
axe/task-2535-waking

Conversation

@popodidi

@popodidi popodidi commented Dec 3, 2026

Copy link
Copy Markdown
Owner

axe task 2535 (scope add, owner msgs #6877/#6879).

With [telegram] thinking_status = true, the private-chat status line no longer says "Waking up…": on accept it is a plain rich-HTML … draft (a loading line, no words), and once the run is live it is the <tg-thinking>Working…</tg-thinking> shimmer, on the same draft_id so the change animates. Flag off: unchanged.

Bot API (core.telegram.org/bots/api): sendRichMessageDraft takes InputRichMessage.html. The Rich HTML example puts bare text outside block tags, and there is no minimum length. No fallback to "Working" throughout was needed (#6877). Confirming that a plain … renders is part of the live check after deploy.

  • crates/axe-telegram/src/telegram.rs: THINKING_WAKING / THINKING_WORKING are now the draft HTML; thinking_draft takes HTML.
  • Test thinking_status_on_streams_a_thinking_draft_until_the_bot_replies asserts both payloads.
  • Docs: docs/user/primitives/bot.md, docs/design/bots.md.

🤖 Generated with Claude Code

Owner msg #6879: no "Waking up" words; a loading-ish text while the run
wakes, the thinking line once it works. The waking draft is plain rich
HTML "…" on the same draft id, so the change to the <tg-thinking>
Working… block animates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@popodidi
popodidi merged commit 841e9c1 into main Dec 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant