mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 08:17:34 +00:00
fix: disabled STT also covers live finish; clarify model cache location
This commit is contained in:
1 parent
94255863d1
commit
02f2fa198a
3 files changed
+18
-1
No files matched your search
@@ -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"):
|
||||
|
||||
Reference in new issue
Block a user