mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 12:07:33 +01:00
OrangeCat's Cat ends an answer with two to four tappable replies; it was the most convenient control in any of the fleet's chats and existed nowhere else. It now lives here so every product gets it from one place. - REPLIES_INSTRUCTION: the prompt text that asks the model for a ```quick_replies block in the same turn (no second call, no latency) - extractReplies(): parses it back out, deduplicated and capped, and hides an unfinished block while streaming so no one watches JSON appear - ChatThread onReply: buttons under the latest answer only, never while a turn runs; the block is stripped from every answer even without onReply - ChatReplies: the same buttons for apps that render their own thread Claude-Session: https://claude.ai/code/session_01Mg5wrkfw95JWfmAz8yRT1j Co-authored-by: Claude <noreply@anthropic.com>