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.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
datapools v2 validation fix
Ahmed Essamc4b15c63f290
diff --git a/packages/app/src/react/features/credentials/hooks/use-credentials.ts b/packages/app/src/react/features/credentials/hooks/use-credentials.tsindex 6a48bcc3..58324f2d 100644--- a/packages/app/src/react/features/credentials/hooks/use-credentials.ts+++ b/packages/app/src/react/features/credentials/hooks/use-credentials.ts@@ -14,7 +14,7 @@ const INTERNAL_CREDENTIALS = {vector_db_creds: [{id: '__smythos_vectordb_cred__',- name: 'SmythOS Pinecone',+ name: 'SmythOS Pinecone 1536d',provider: 'Pinecone',credentials: {},createdAt: '2024-11-26T17:59:56.212Z',diff --git a/packages/app/src/react/features/data-pool/components/CreateNamespaceModal.tsx b/packages/app/src/react/features/data-pool/components/CreateNamespaceModal.tsxindex 3d9ac5a9..00af1033 100644--- a/packages/app/src/react/features/data-pool/components/CreateNamespaceModal.tsx+++ b/packages/app/src/react/features/data-pool/components/CreateNamespaceModal.tsx@@ -217,7 +217,7 @@ export const CreateNamespaceModal: FC<CreateNamespaceModalProps> = ({setError(null);};- const isFormValid = name.trim() !== '' && selectedCredentialId !== '' && selectedModelId !== '';+ const isFormValid = name.trim() !== '' && selectedCredentialId !== '' && selectedModelId !== '' && dimensions !== '';return (<>@@ -389,16 +389,13 @@ export const CreateNamespaceModal: FC<CreateNamespaceModalProps> = ({</label><inputtype="number"- placeholder="e.g., 1536 (optional)"+ placeholder="e.g., 1536"value={dimensions}onChange={(e: ChangeEvent<HTMLInputElement>) => setDimensions(e.target.value)}disabled={isCreating}readOnly={isDimensionsReadOnly}className="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 disabled:bg-gray-100 disabled:cursor-not-allowed text-sm"/>- <p className="text-xs text-gray-500">- Leave empty for default- </p></div></div></div>