Stream Whisper uploads with curl so large audio does not OOM.

This commit is contained in:
ben
2026-08-13 20:29:59 +02:00
parent 1898be4def
commit e77a18c49f
7 changed files with 488 additions and 42 deletions
+6
View File
@@ -29,6 +29,12 @@ return [
'transcription_timeout' => (int) env('TRANSCRIPTION_TIMEOUT', 600),
'local_whisper_model' => env('LOCAL_WHISPER_MODEL', 'Systran/faster-whisper-base'),
/*
| "curl" streams large uploads off disk (default). "http" uses Laravel's
| HTTP client and is intended for Http::fake() in tests.
*/
'local_whisper_transport' => env('LOCAL_WHISPER_TRANSPORT', 'curl'),
/*
|--------------------------------------------------------------------------
| Caching