mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Expose AI configuration loading state
This commit is contained in:
5 files changed
+37
-16
No files matched your search
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user