Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Always return isDeployed for undeploy chat
  • Loading branch information
Theodore Li committed Mar 16, 2026
commit d2c3ef1f975cc71c62b10ff6d0224be46e948cc2
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,13 @@ export async function executeDeployChat(
await db.delete(chat).where(eq(chat.id, existing[0].id))
return {
success: true,
output: { workflowId, success: true, action: 'undeploy', isChatDeployed: false },
output: {
workflowId,
success: true,
action: 'undeploy',
isDeployed: true,
isChatDeployed: false,
},
}
Comment thread
TheodoreSpeaks marked this conversation as resolved.
}

Expand Down Expand Up @@ -257,6 +263,8 @@ export async function executeDeployMcp(

mcpPubSub?.publishWorkflowToolsChanged({ serverId, workspaceId })

// Intentionally omits `isDeployed` — removing from an MCP server does not
// affect the workflow's API deployment.
return {
success: true,
output: { workflowId, serverId, action: 'undeploy', removed: true },
Expand Down
Loading