This commit is contained in:
Timothy J. Baek
2024-08-27 17:05:24 +02:00
parent 628310b12b
commit 6a21a77ee9
6 changed files with 107 additions and 36 deletions
+4
View File
@@ -1939,6 +1939,10 @@ async def get_app_config(request: Request):
"engine": audio_app.state.config.STT_ENGINE,
},
},
"file": {
"max_size": rag_app.state.config.FILE_MAX_SIZE,
"max_count": rag_app.state.config.FILE_MAX_COUNT,
},
"permissions": {**webui_app.state.config.USER_PERMISSIONS},
}
if user is not None