You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
**Title: [Bug] Windows: Local whisper.cpp STT fails with ClassCastException in whisper_h (v1.5.4)** #806
Speech-to-Text provider: Local whisper.cpp (in-process)
Whisper model: ggml-small.bin
Problem
Local speech recognition fails when attempting to use the microphone. Askimo detects the Whisper model and attempts to load the bundled native library, but initialization of the Java Whisper bindings fails.
Text chat and text-to-speech work correctly. The issue appears specific to the local whisper.cpp speech-to-text integration.
Steps to reproduce
Open Askimo Desktop 1.5.4 on Windows.
Select the local in-process whisper.cpp speech-to-text provider.
Download/select the Small Whisper model.
Start a voice recording or transcription session.
Observe that speech recognition fail.
Expected behavior
Speech should be transcribed locally using whisper.cpp.
Actual behavior
Whisper Java bindings fail during class initialization and transcription does not start.
Possible cause
The stack trace suggests an incorrect native type mapping or a mismatch in the generated Foreign Function & Memory API bindings, specifically an int layout being cast to ValueLayout.OfLong.
Could you please investigate whether the bundled whisper_h bindings are compatible with the Windows x64 native library and packaged Java runtime?
Thank you @Michail-A389 . It is the different of how many bytes for Long value because this issue on windows. It will be addressed and fixed in the next release
Activity
haiphucnguyen commentedon Nov 6, 2026
Thank you @Michail-A389 . It is the different of how many bytes for Long value because this issue on windows. It will be addressed and fixed in the next release
haiphucnguyen commentedon Nov 10, 2026
This issue has been resolved in the latest Askimo release 1.5.5. Please check and let me know if you are still experiencing it.