Skip to content

feat(litert): add LiteRT-LM as second on-device inference engine#360

Merged
dishit-wednesday merged 95 commits into
mainfrom
litertsupport
Jun 3, 2026
Merged

feat(litert): add LiteRT-LM as second on-device inference engine#360
dishit-wednesday merged 95 commits into
mainfrom
litertsupport

Merge pull request #381 from alichherawalla/improve-perf

ff16d3e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 3, 2026 in 1s

81.81% (target 80.00%)

View this Pull Request on Codecov

81.81% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 55.37270% with 461 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.81%. Comparing base (4e1ca92) to head (ff16d3e).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/services/litert.ts 35.05% 116 Missing and 10 partials ⚠️
src/services/generationToolLoop.ts 49.34% 61 Missing and 16 partials ⚠️
src/screens/ModelsScreen/TextModelsTab.tsx 37.87% 29 Missing and 12 partials ⚠️
src/services/generationServiceHelpers.ts 65.38% 26 Missing and 10 partials ⚠️
.../GenerationSettingsModal/TextGenerationSection.tsx 47.72% 21 Missing and 2 partials ⚠️
src/screens/ChatScreen/useChatModelActions.ts 11.76% 9 Missing and 6 partials ⚠️
...ens/ModelSettingsScreen/TextGenerationAdvanced.tsx 17.64% 14 Missing ⚠️
src/services/activeModelService/loaders.ts 61.11% 8 Missing and 6 partials ⚠️
...eens/ModelSettingsScreen/TextGenerationSection.tsx 65.78% 11 Missing and 2 partials ⚠️
src/screens/ChatScreen/useChatGenerationActions.ts 61.53% 3 Missing and 7 partials ⚠️
... and 24 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #360      +/-   ##
==========================================
- Coverage   82.83%   81.81%   -1.02%     
==========================================
  Files         235      241       +6     
  Lines       12027    12836     +809     
  Branches     3286     3536     +250     
==========================================
+ Hits         9962    10502     +540     
- Misses       1207     1403     +196     
- Partials      858      931      +73     
Files with missing lines Coverage Δ
src/components/ChatInput/styles.ts 77.77% <100.00%> (+2.77%) ⬆️
src/components/ChatMessage/index.tsx 95.57% <100.00%> (ø)
src/components/ModelCard.styles.ts 100.00% <ø> (ø)
src/components/ModelCard.tsx 86.00% <100.00%> (+3.07%) ⬆️
src/components/ModelSelectorModal/TextTab.tsx 65.85% <100.00%> (ø)
src/hooks/useDownloads.ts 90.00% <ø> (+0.95%) ⬆️
src/screens/ChatScreen/ChatModalSection.tsx 80.00% <ø> (ø)
src/screens/ChatScreen/types.ts 88.23% <100.00%> (+8.23%) ⬆️
src/screens/ChatsListScreen.tsx 68.86% <100.00%> (+1.22%) ⬆️
...eens/HomeScreen/components/ActiveModelsSection.tsx 89.36% <ø> (-0.23%) ⬇️
... and 48 more

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.