Refresh installed models before load to fix MODEL_NOT_INSTALLED error#51
Closed
corsacca wants to merge 1 commit intowatzon:mainfrom
Closed
Refresh installed models before load to fix MODEL_NOT_INSTALLED error#51corsacca wants to merge 1 commit intowatzon:mainfrom
corsacca wants to merge 1 commit intowatzon:mainfrom
Conversation
TranscriptionService and ModelManager each create separate LocalTranscriptionRuntime instances. After ModelManager downloads a model, only its runtime's cache is refreshed. The TranscriptionService's runtime still has a stale (empty) installedModels list, causing every loadModel call to fail with MODEL_NOT_INSTALLED. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
|
Thanks for digging into this. I’m going to close this PR because we’re in the middle of rolling the app back to a single mac-native architecture, and this fix is specific to the Kotlin shared runtime path we’re removing.\n\nThe issue was real on the KMP branch, but it won’t apply once the rollback lands. |
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.
In running this app locally I ran into errors about the models not being installed. Might be related to #26.
This simple line fixed the issue.
TranscriptionService and ModelManager each create separate LocalTranscriptionRuntime instances. After ModelManager downloads a model, only its runtime's cache is refreshed. The TranscriptionService's runtime still has a stale (empty) installedModels list, causing every loadModel call to fail with MODEL_NOT_INSTALLED.