A React Native app for the ultimate thinking partner.

Fix reasoning disappearing after streaming completes

The grouping logic was only checking for separate reasoning_message objects,
but streaming creates messages with reasoning as a field. Now it checks both:
1. Separate reasoning messages (server non-streaming format)
2. reasoning field on the message itself (streaming format)

This is a 2-line fix that makes reasoning work in both cases.

🐾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>

+2 -2
+2 -2
src/hooks/useMessageGroups.ts
··· 363 363 groupKey, 364 364 type: 'tool_call', 365 365 content: toolCall.args, // The formatted args string 366 - reasoning: reasoningMsg?.reasoning, 366 + reasoning: reasoningMsg?.reasoning || toolCallMsg?.reasoning, 367 367 toolCall: { 368 368 name: toolCall.name, 369 369 args: toolCall.args, ··· 397 397 groupKey: `${id}-assistant`, 398 398 type: 'assistant', 399 399 content: assistantMsg.content, 400 - reasoning: reasoningMsg?.reasoning, 400 + reasoning: reasoningMsg?.reasoning || assistantMsg?.reasoning, 401 401 created_at: assistantMsg.created_at, 402 402 role: assistantMsg.role, 403 403 };