A React Native app for the ultimate thinking partner.

Disable streaming on React Native (Android/iOS)

React Native doesn't support Web Streams API required by SDK streaming.
- Web: stream_tokens = true (streaming works)
- Android/iOS: stream_tokens = false (fallback to non-streaming)

This matches documented limitation in project memory.

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

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

+5 -2
+2 -1
.letta/settings.json
··· 14 14 "Bash(cd /Users/cameron/letta/co && git log:*)", 15 15 "Bash(cd /Users/cameron/letta/co && git status:*)", 16 16 "Bash(cd /Users/cameron/letta/co && git show:*)", 17 - "Bash(cd /Users/cameron/letta/co && git add:*)" 17 + "Bash(cd /Users/cameron/letta/co && git add:*)", 18 + "Bash(cd /Users/cameron/letta/co && grep -r \"expo/fetch\" . --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.json\")" 18 19 ] 19 20 } 20 21 }
+3 -1
src/api/lettaApi.ts
··· 1 1 import Letta from '@letta-ai/letta-client'; 2 + import { Platform } from 'react-native'; 2 3 import type { 3 4 LettaAgent, 4 5 LettaMessage, ··· 365 366 }; 366 367 }), 367 368 // Token streaming provides partial chunks for real-time UX 368 - stream_tokens: messageData.stream_tokens !== false, 369 + // NOTE: Disabled on React Native (Android/iOS) - Web Streams API not supported 370 + stream_tokens: Platform.OS === 'web' && messageData.stream_tokens !== false, 369 371 // Background mode prevents client-side terminations and enables resumption 370 372 background: true, 371 373 // Ping events keep connection alive during long operations