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.

Update embodiment-helper to use DeploymentWithAgentSnapshot type for agentDeployed

Muhammad Hamza Khanc5d6ee5e0c62
diff --git a/packages/app/src/react/features/embodiments/embodiment-helper.ts b/packages/app/src/react/features/embodiments/embodiment-helper.ts
index 58a24173..1fad0473 100644
--- a/packages/app/src/react/features/embodiments/embodiment-helper.ts
+++ b/packages/app/src/react/features/embodiments/embodiment-helper.ts
@@ -2,7 +2,7 @@ import { useQuery, useQueryClient } from '@tanstack/react-query';
import { Agent as AgentInstance } from '../../../builder-ui/Agent.class';
import { EMBODIMENT_TYPE } from '../../shared/enums';
import { Agent } from '../../shared/types/agent-data.types';
-import { Embodiment } from '../../shared/types/api-results.types';
+import { DeploymentWithAgentSnapshot, Embodiment } from '../../shared/types/api-results.types';
import { getAgentEmbodiments, getAgentSettings } from '../agent-settings/clients';
import {
AlwaysAvailableEmbodiments,
@@ -41,7 +41,7 @@ export function structureAgentSetting(
agentId: string;
canUseEmbodiments: boolean;
isReadOnlyAccess: boolean;
- agentDeployed: boolean;
+ agentDeployed: DeploymentWithAgentSnapshot;
},
modalHandlers?: {
activeModal: string | null;