diff --git a/ai-hub/integration_tests/test_file_sync.py b/ai-hub/integration_tests/test_file_sync.py
index 8347d35..c5e92a2 100644
--- a/ai-hub/integration_tests/test_file_sync.py
+++ b/ai-hub/integration_tests/test_file_sync.py
@@ -67,7 +67,11 @@
return os.getenv("SYNC_TEST_USER_ID", "integration_tester_sync")
def _headers():
- return {"X-User-ID": _get_user_id()}
+ h = {"X-User-ID": _get_user_id()}
+ secret = os.getenv("SYNC_TEST_PROXY_SECRET")
+ if secret:
+ h["X-Proxy-Secret"] = secret
+ return h
def _unique(prefix="synctest"):
diff --git a/frontend/src/features/settings/components/cards/AIConfigurationCard.js b/frontend/src/features/settings/components/cards/AIConfigurationCard.js
index 3a3cba2..6436846 100644
--- a/frontend/src/features/settings/components/cards/AIConfigurationCard.js
+++ b/frontend/src/features/settings/components/cards/AIConfigurationCard.js
@@ -171,13 +171,13 @@
onClick={() => setIsGlobalMode(false)}
className={`px-4 py-2 rounded-xl text-[10px] font-black transition-all ${!isGlobalMode ? 'bg-white dark:bg-gray-800 text-indigo-600 dark:text-indigo-400 shadow-sm' : 'text-gray-400 dark:text-gray-500 hover:text-gray-600'}`}
>
- Personal Overrides
+ My Account Settings
setIsGlobalMode(true)}
className={`px-4 py-2 rounded-xl text-[10px] font-black transition-all ${isGlobalMode ? 'bg-indigo-600 text-white shadow-lg shadow-indigo-600/20' : 'text-gray-400 dark:text-gray-500 hover:text-gray-600'}`}
>
- System Defaults
+ Global System Defaults
)}
@@ -188,6 +188,16 @@
{!collapsedSections.ai && (
+ {/* Aggregate Configuration Guidance */}
+
+
+
+ {isGlobalMode
+ ? "Admin: Configuring baseline providers and API keys for all users on this platform."
+ : "User: Customizing your own API keys. These settings will be merged with system defaults."
+ }
+
+
{[
{ id: 'llm', label: 'Large Models' },
@@ -230,7 +240,7 @@
disabled={saving}
className={`px-8 py-3 ${isGlobalMode ? 'bg-indigo-600 hover:bg-indigo-700 shadow-indigo-500/20' : 'bg-emerald-600 hover:bg-emerald-700 shadow-emerald-500/20'} text-white rounded-2xl text-xs font-black shadow-lg active:scale-95 transition-all flex items-center gap-2`}
>
- {saving ? 'Saving...' : (isGlobalMode ? 'Save System Defaults' : 'Save Personal Overrides')}
+ {saving ? 'Saving...' : (isGlobalMode ? 'Save Global Defaults' : 'Save Account Settings')}
diff --git a/frontend/src/features/settings/pages/SettingsPage.js b/frontend/src/features/settings/pages/SettingsPage.js
index 67fc56e..4cb22d6 100644
--- a/frontend/src/features/settings/pages/SettingsPage.js
+++ b/frontend/src/features/settings/pages/SettingsPage.js
@@ -316,7 +316,7 @@
if (e) e.preventDefault();
try {
setSaving(true);
- setMessage({ type: '', text: isGlobalMode ? 'Saving global system defaults...' : 'Saving and verifying personal overrides...' });
+ setMessage({ type: '', text: isGlobalMode ? 'Saving global platform defaults...' : 'Saving and verifying personal account settings...' });
const updatedStatuses = { ...providerStatuses };
const sections = ['llm', 'tts', 'stt'];
@@ -362,7 +362,7 @@
tts: data.tts || {},
stt: data.stt || {}
});
- setMessage({ type: 'success', text: 'Personal overrides saved successfully!' });
+ setMessage({ type: 'success', text: 'Personal account settings saved successfully!' });
}
setTimeout(() => setMessage({ type: '', text: '' }), 3000);