Skip to content

Phase 7#118

Open
jkkj wants to merge 27 commits intoshubham0204:mainfrom
jkkj:phase-7
Open

Phase 7#118
jkkj wants to merge 27 commits intoshubham0204:mainfrom
jkkj:phase-7

Conversation

@jkkj
Copy link
Copy Markdown
Contributor

@jkkj jkkj commented Feb 10, 2026

Adding options and UI elements for the new functionality.

jkkj added 26 commits February 10, 2026 14:27
Prevents crash when changing system prompt by calling unloadModel()
before loadModel() in UpdateChatSettings handler, matching the
pattern used in all other model reload paths.
  - Fix race condition in SmolLMManager.unload() where deferred close()
    would free a newly loaded model after settings change
  - Add JNI exception handling for startCompletion and widen catches
    from std::runtime_error to std::exception in loadModel/completionLoop
  - Validate chat template with Jinja syntax check before passing to C++
  - Replace llmModel!! with safe calls in ChatActivity
  - Reload model on error when instance becomes unloaded
  - Show human-readable names for downloaded whisper models
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.

1 participant