Files
chatkit/src/react
CatoandClaude e669991a4f fix(replies): a heading the model writes over the reply buttons is never drawn (0.15.1) (#29)
Models end answers with their own "**Quick follow-up options**" (or
"Suggested replies", "Mögliche Rückfragen:", ...) right above the
quick_replies block; drawn over chatkit's buttons it reads as an empty
section (live on substrata.orangecat.ch).

- extractReplies drops the last block before the replies when it is a
  heading or a bold/italic-only line of at most six words with no sentence
  punctuation but a closing colon, plus an adjacent --- rule. Shape and
  position, no word list, so every language. A bold sentence stays.
- Streaming ({ streaming: true }, passed by ChatThread) holds back a last
  line that could still become such a label, so it never flashes.
- dropReplyLabel is exported; ChatThread applies it to app-supplied replies.
- REPLIES_INSTRUCTION: no heading or label before the block.


Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-23 13:28:57 +02:00
..