Expose AI configuration loading state

This commit is contained in:
Alex Gleason committed 2025-12-20 20:23:18 -06:00
1 parent 763cf87749
commit 2f8055abfa
5 files changed
+37 -16

No files matched your search

+2
View File
@@ -151,6 +151,7 @@ export function AISettingsProvider({ children }: AISettingsProviderProps) {
};
const isConfigured = settings.providers.length > 0;
const isLoading = !isInitialized;
const contextValue: AISettingsContextType = {
settings,
@@ -162,6 +163,7 @@ export function AISettingsProvider({ children }: AISettingsProviderProps) {
setMCPServer,
removeMCPServer,
isConfigured,
isLoading,
};
return (