Whisper Request Handler
Handles incoming Whisper servlet requests: health-check probes, resource gating, audio extraction, and transcription routing (local vs external).
Extracted from Whisper.kt so the servlet class only handles configuration and lifecycle.
Parameters
log
Logging callback (LogLevel, message).
Properties
Functions
Link copied to clipboard
fun handle(params: IPluginServletActionParams, serverManager: WhisperServerManager, isExternalMode: Boolean, externalUrl: String?, externalApiKey: String?, externalModel: String?, modelUrl: String, ffmpegAvailable: Boolean, autoDetectLanguage: Boolean = false, pluginProperties: Properties): IPluginServletActionRetVal
Processes a servlet request for speech-to-text transcription.