dashboard-nanobot/backend/services/platform_settings_service.py

29 lines
873 B
Python

from services.platform_runtime_settings_service import (
get_auth_token_max_active,
get_auth_token_ttl_hours,
default_platform_settings,
get_allowed_attachment_extensions,
get_chat_pull_page_size,
get_page_size,
get_platform_settings,
get_platform_settings_snapshot,
get_speech_runtime_settings,
get_upload_max_mb,
get_workspace_download_extensions,
save_platform_settings,
)
from services.platform_settings_core import (
ACTIVITY_EVENT_RETENTION_SETTING_KEY,
DEFAULT_ACTIVITY_EVENT_RETENTION_DAYS,
DEFAULT_ALLOWED_ATTACHMENT_EXTENSIONS,
SETTING_KEYS,
SYSTEM_SETTING_DEFINITIONS,
)
from services.platform_system_settings_service import (
create_or_update_system_setting,
delete_system_setting,
ensure_default_system_settings,
get_activity_event_retention_days,
list_system_settings,
)