Release 0.13.1: Gemma 4 thinking mode, LiteRT-LM 0.10.0#211
Merged
Conversation
Pass enable_thinking as a Jinja template variable through extraContext instead of injecting <|think|> as plain text in system prompt. - Add enableThinking to Pigeon createSession (Android/iOS) - Pass extraContext to LiteRT-LM sendMessage/sendMessageAsync - Extract Message.channels["thought"] in streaming callbacks - Add enable_thinking to gRPC proto and server implementation - Revert <|think|> text injection in Dart createChat() - Add integration tests for thinking mode (Android + macOS) - Add unit tests for ModelThinkingFilter with Gemma 4 markers
Wrap angle brackets in backticks across 7 files to fix 22 pub.dev lints_core analysis warnings.
- LiteRT-LM 0.10.0 (Android + JVM SDK) - Gemma 4 thinking mode via extraContext + streaming thought channels - Fix cancel download (#196) - Fix large_file_handler conditional imports for pub.dev platform support - Update desktop JAR version and checksums in all platform scripts
…rity - Android: combine thinking+text into single tryEmit to prevent content loss - Android: fix stale streamJob on engine replacement, add @volatile - Android: update MediaPipe audio capabilities dynamically after init - iOS/Web: log warning when enableThinking=true (unsupported on MediaPipe) - Web: fix StreamController leak in stopGeneration, reset initCompleter - Desktop: throw on corrupt image instead of silent fallback - Scripts: verify cached JAR checksum before reuse (all 4 platforms) - Tests: wrap streaming tests in tester.runAsync, add platform guards - Add /release skill for version bumps, JAR rebuild, checksums
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
isThinking: truenow works with Gemma 4 E2B/E4B models (Android, iOS, Desktop; not Web) viaextraContext+ streamingthoughtchannelslarge_file_handlerplatform support: Conditional imports for pub.dev platform analysis compatibility