Skip to content

chore: adding launch preparation#1

Open
theproducer wants to merge 12 commits intomainfrom
launch-prep-readme
Open

chore: adding launch preparation#1
theproducer wants to merge 12 commits intomainfrom
launch-prep-readme

Conversation

@theproducer
Copy link
Copy Markdown
Collaborator

@theproducer theproducer commented Apr 27, 2026

Description

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation

Rationale / Problems Fixed

Tests or Reproductions

Screenshots / Media

Platforms Affected

  • Android
  • iOS
  • Web

Notes / Comments

Linked to RMET-5129

@theproducer theproducer changed the title chore: Adding launch preparation chore: adding launch preparation Apr 27, 2026
@theproducer theproducer requested a review from a team April 28, 2026 14:37
Comment thread AGENTS.md
Comment thread README.md

### Check availability and download

Call [`systemAvailability()`](#systemavailability) to inspect the current state. If the status is `downloadable`, trigger the download with [`download()`](#download) and poll `systemAvailability()` until the status becomes `available`.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit(dx): Could we make an event that fires when the availability status changes?

Something like:

LocalLLM.onSystemAvailabilityChange(e => {
  if(status === 'downloadable') await LocalLLM.download();
  if(status === 'available') ( text = await LocalLLM.prompt({ prompt: 'Hello model!' }); )
});

Comment thread README.md
|----------|------------|-------|
| iOS | **18.4** | Image generation requires iOS 18.4+. Text LLM (Foundation Models / Apple Intelligence) requires iOS 26+. |
| Android | **10 (API 29)** | Gemini Nano via ML Kit requires a device that supports on-device AI (e.g. Pixel 6+). |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add any known platform variances and/or runtime constraints here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants