Repository navigation
Conversation
4di-hello
force-pushed
the
pr/caller-check
branch
from
November 30, 2026 18:59
470ee8a to
e85ad35
Compare
… known engines only Rest of the report on top of the caller check in 1.0.5: - cpuThreads from the request is limited to the number of cores - At most 10 minutes of audio (the keyboard's longest fixed setting) are buffered per session; the buffer keeps boxed samples (about 20 bytes each), so far more would run out of memory - isModelReady accepts only known engine names, like getModelState and deleteModel Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4di-hello
force-pushed
the
pr/caller-check
branch
from
November 30, 2026 18:59
e85ad35 to
e8baf31
Compare
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.
Follow-up to GHSA-5w86-5338-grv4. Thanks for the quick fix in 1.0.5! The caller check and the engine names are covered there, so I rebased this PR onto it and kept only the smaller points from the report:
cpuThreadsfrom the request is limited to the number of cores.ShortArraywould be the real fix, but that touches more code.isModelReadyaccepts only known engine names too, likegetModelStateanddeleteModelin 1.0.5.Compiles, unit tests pass. An independent review (Claude) pointed out that my first limit of 30 minutes would have run out of memory before it was reached, hence 10 minutes. This touches
WhisperEngine.ktlike #6, so whichever is merged second may need a small rebase; I can do that.🤖 Generated with Claude Code