|
@@ -1040,13 +1040,14 @@ async def get_app_config(request: Request):
|
|
{
|
|
{
|
|
"enable_channels": app.state.config.ENABLE_CHANNELS,
|
|
"enable_channels": app.state.config.ENABLE_CHANNELS,
|
|
"enable_web_search": app.state.config.ENABLE_RAG_WEB_SEARCH,
|
|
"enable_web_search": app.state.config.ENABLE_RAG_WEB_SEARCH,
|
|
- "enable_google_drive_integration": app.state.config.ENABLE_GOOGLE_DRIVE_INTEGRATION,
|
|
|
|
|
|
+ "enable_code_interpreter": app.state.config.ENABLE_CODE_INTERPRETER,
|
|
"enable_image_generation": app.state.config.ENABLE_IMAGE_GENERATION,
|
|
"enable_image_generation": app.state.config.ENABLE_IMAGE_GENERATION,
|
|
|
|
+ "enable_autocomplete_generation": app.state.config.ENABLE_AUTOCOMPLETE_GENERATION,
|
|
"enable_community_sharing": app.state.config.ENABLE_COMMUNITY_SHARING,
|
|
"enable_community_sharing": app.state.config.ENABLE_COMMUNITY_SHARING,
|
|
"enable_message_rating": app.state.config.ENABLE_MESSAGE_RATING,
|
|
"enable_message_rating": app.state.config.ENABLE_MESSAGE_RATING,
|
|
- "enable_autocomplete_generation": app.state.config.ENABLE_AUTOCOMPLETE_GENERATION,
|
|
|
|
"enable_admin_export": ENABLE_ADMIN_EXPORT,
|
|
"enable_admin_export": ENABLE_ADMIN_EXPORT,
|
|
"enable_admin_chat_access": ENABLE_ADMIN_CHAT_ACCESS,
|
|
"enable_admin_chat_access": ENABLE_ADMIN_CHAT_ACCESS,
|
|
|
|
+ "enable_google_drive_integration": app.state.config.ENABLE_GOOGLE_DRIVE_INTEGRATION,
|
|
}
|
|
}
|
|
if user is not None
|
|
if user is not None
|
|
else {}
|
|
else {}
|