use-mcp/examples/chat-ui/src/hooks
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Glen Maddern b810f639aa fix: Create assistant message immediately when reasoning starts
- Create assistant message as soon as first reasoning event arrives
- This ensures reasoning block is visible from the beginning of thinking
- Prevent duplicate message creation in text-delta handler
- Move reasoning end time logic to text-delta start (when thinking finishes)

This fixes the issue where reasoning blocks weren't appearing because
the assistant message was only created after reasoning completed.
2025-06-24 19:03:43 +10:00
..
useAutoscroll.ts Copying chat example across 2025-06-19 11:51:02 +10:00
useIndexedDB.ts Copying chat example across 2025-06-19 11:51:02 +10:00
useStreamResponse.ts fix: Create assistant message immediately when reasoning starts 2025-06-24 19:03:43 +10:00
useTheme.ts Copying chat example across 2025-06-19 11:51:02 +10:00