flutter_edge_ai_builtin_ai 0.4.3
flutter_edge_ai_builtin_ai: ^0.4.3 copied to clipboard
Opt-in flutter_edge_ai engine for the OS built-in model: Gemini Nano (Android), Apple Foundation Models (iOS/macOS), Windows AI Foundry, Chrome's Prompt API on Web.
0.4.3 #
BuiltInAiHuggingFaceResolverdeclares theinferencerole.
0.4.2 #
- Require
flutter_edge_ai>=2.6.0 <2.7.0.
0.4.1 #
- Require
flutter_local_ai^0.4.0: no launch crash on Apple OS older than 26.
0.4.0 #
- Sessions open through core's
openEngineSession;openChattakes the model's own type and image support. responseFormatwired to Apple, Chrome and Windows schemas; each refused until its device run.getResponse/getResponseAsyncon a closed session fail asynchronously instead of throwing.- Require
flutter_edge_ai^2.6.0.
0.3.8 #
- Require
flutter_edge_ai>=2.3.0 <2.6.0.
0.3.7 #
- Require
flutter_local_ai^0.3.0; generation failures exposePlatformExceptiondetails.
0.3.6 #
- README: Chrome 148 and later need no origin trial; sampling defaults per platform.
0.3.5 #
- Require
flutter_edge_ai^2.3.0 (imports its engine library).
0.3.4 #
close()setsisClosedat once and releases the OS model before its listeners fire.- Require
flutter_edge_ai^2.2.1.
0.3.3 #
- Sampling parameters are nullable; unset ones keep
temperature: 0.8, topK: 1(#572). - Require
flutter_edge_ai^2.2.0.
0.3.2 #
- Breaking:
createChat(isThinking:)isenableThinking; requireflutter_edge_ai^2.1.0.
0.3.1 #
- Require
flutter_edge_ai2.x.
0.3.0 #
- Renamed from
flutter_gemma_builtin_ai. - Breaking: a pure-Dart adapter over
flutter_local_ai^0.2.1; theBuiltInAi*API is unchanged. - Breaking: no longer a plugin; re-lock
Podfile.lock, and macOS apps need a 12.0 target. - Breaking: requires Flutter 3.44 / Dart 3.12;
pigeon.g.dartis gone. - Windows support through Windows AI Foundry (Phi Silica).
supportImage: truewhere there is no vision fails at model creation.localAiModel/localAiSessionexpose native tools and structured output (@experimental).
0.2.2 #
- Windows/Linux:
availability()reportsunavailableDeviceUnsupportedinstead of throwing.
0.2.1 #
- Add
BuiltInAiHuggingFaceResolver(auto-registered fromBuiltInAiEngine) soresolveHuggingFacereports that built-in OS models have no Hugging Face file (#454). - fix: iOS/macOS builds failed on Xcode below 26.4 —
SystemLanguageModel.tokenCountis absent from those SDKs and#availablecannot gate a missing declaration (#460).
0.2.0 #
- Web support: Gemini Nano via the Chrome Prompt API (desktop Chrome/Edge).
0.1.1 #
- Android plugin no longer applies KGP — Flutter's Gradle plugin does (#440).
- iOS floor lowered to 15.0 — every Foundation Models call is
#available-guarded (#441).
0.1.0 #
- Initial release: Gemini Nano (Android) + Apple Foundation Models (iOS/macOS) engine