fix: disabled STT also covers live finish; clarify model cache location

This commit is contained in:
Alex committed 2026-09-15 19:28:19 +01:00
1 parent 94255863d1
commit 02f2fa198a
3 files changed
+18 -1

No files matched your search

+2
View File
@@ -688,6 +688,8 @@ class LiveSpeechToTextFinish(Resource):
jsonify({"success": False, "message": "Authentication required"}),
401,
)
if not STTCreator.is_enabled(settings.STT_PROVIDER):
return _feature_disabled(_STT_DISABLED_MESSAGE)
redis_client = _require_live_stt_redis()
if hasattr(redis_client, "status_code"):