Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

merge dev

Ahmed Essam3865e9d2fdc2
diff --cc packages/app/src/react/features/vault/pages/VaultPage.tsx
index 694e9212,c0dc1587..d9917ba8
--- a/packages/app/src/react/features/vault/pages/VaultPage.tsx
+++ b/packages/app/src/react/features/vault/pages/VaultPage.tsx
@@@ -78,45 -72,43 +77,43 @@@ export default function VaultPage()
}
return (
- <TooltipProvider delayDuration={300} skipDelayDuration={100}>
- <div className="container mx-auto py-6 space-y-6 pl-12 md:pl-0 pr-0">
- <div className="flex items-center justify-between md:justify-end">
- {pageAccess?.write && (
- <CustomButton
- handleClick={handleExportVault}
- disabled={isExporting}
- Icon={
- isExporting ? (
- <Loader2 className="mr-2 h-4 w-4 animate-spin" />
- ) : (
- <CiExport className="inline mr-1 w-4 h-4" strokeWidth={1} />
- )
- }
- addIcon
- label={isExporting ? 'Exporting...' : 'Export Vault Structure'}
- />
- )}
- </div>
-
- {hasBuiltinModels && (
- <PluginComponents targetId={PluginTarget.VaultPageSmythOSRecommendedModels} />
+ <div className="container mx-auto py-6 space-y-6 pl-12 md:pl-0 pr-0">
+ <div className="flex items-center justify-between md:justify-end">
+ {pageAccess?.write && (
+ <CustomButton
+ handleClick={handleExportVault}
+ disabled={isExporting}
+ Icon={
+ isExporting ? (
+ <Loader2 className="mr-2 h-4 w-4 animate-spin" />
+ ) : (
+ <CiExport className="inline mr-1 w-4 h-4" strokeWidth={1} />
+ )
+ }
+ addIcon
+ label={isExporting ? 'Exporting...' : 'Export Vault Structure'}
+ />
)}
+ </div>
- <UserModels pageAccess={pageAccess} />
- <UserCustomModels pageAccess={pageAccess} />
- <PluginComponents targetId={PluginTarget.VaultPageEnterpriseModels} />
- <OAuthConnections />
+ {hasBuiltinModels && (
+ <PluginComponents targetId={PluginTarget.VaultPageSmythOSRecommendedModels} />
+ )}
- {isOnDevSAAS && <VectorDatabases />}
+ <UserModels pageAccess={pageAccess} />
+ <UserCustomModels pageAccess={pageAccess} />
+ <PluginComponents targetId={PluginTarget.VaultPageEnterpriseModels} />
+ <OAuthConnections />
- <ErrorBoundarySuspense
- loadingFallback={<div>Loading...</div>}
- errorFallback={() => <div>Error loading API keys</div>}
- >
- <ApiKeys pageAccess={pageAccess} />
- </ErrorBoundarySuspense>
- </div>
- </TooltipProvider>
- {window.location.hostname === 'localhost' && <VectorDatabases />}
++ {isOnDevSAAS && <VectorDatabases />}
+
+ <ErrorBoundarySuspense
+ loadingFallback={<div>Loading...</div>}
+ errorFallback={() => <div>Error loading API keys</div>}
+ >
+ <ApiKeys pageAccess={pageAccess} />
+ </ErrorBoundarySuspense>
+ </div>
);
}