A React Native app for the ultimate thinking partner.

fix(upload): correct file upload endpoint and improve text readability

- Fix upload endpoint from /folders/{id}/files to /folders/{id}/upload (resolves 405 error)
- Add console logging for immediate upload feedback
- Increase body text font size from 16px to 18px with line height 26 for better readability

+9 -3
+8 -2
App.tsx
··· 907 907 908 908 setIsUploadingFile(true); 909 909 setUploadProgress(`Uploading ${file.name}...`); 910 + 911 + // Show immediate feedback 912 + console.log(`Starting upload: ${file.name}`); 913 + 910 914 try { 911 915 // Upload file - this returns the job info 912 916 const result = await lettaApi.uploadFileToFolder(coFolder.id, file); ··· 2101 2105 }, 2102 2106 userMessageText: { 2103 2107 color: darkTheme.colors.background.primary, 2104 - fontSize: 16, 2108 + fontSize: 18, 2105 2109 fontFamily: 'Lexend_400Regular', 2110 + lineHeight: 26, 2106 2111 }, 2107 2112 assistantMessageText: { 2108 2113 color: darkTheme.colors.text.primary, 2109 - fontSize: 16, 2114 + fontSize: 18, 2110 2115 fontFamily: 'Lexend_400Regular', 2116 + lineHeight: 26, 2111 2117 }, 2112 2118 reasoningToggle: { 2113 2119 flexDirection: 'row',
+1 -1
src/api/lettaApi.ts
··· 979 979 formData.append('file', file); 980 980 981 981 const response = await fetch( 982 - `https://api.letta.com/v1/folders/${folderId}/files?duplicate_handling=${duplicateHandling}`, 982 + `https://api.letta.com/v1/folders/${folderId}/upload?duplicate_handling=${duplicateHandling}`, 983 983 { 984 984 method: 'POST', 985 985 headers: {