diff --git a/src/frontend/src/constants/alerts_constants.tsx b/src/frontend/src/constants/alerts_constants.tsx index 0710e3d00..c3e3ba946 100644 --- a/src/frontend/src/constants/alerts_constants.tsx +++ b/src/frontend/src/constants/alerts_constants.tsx @@ -40,7 +40,7 @@ export const COMPONENTS_ERROR_ALERT = "Error getting components."; // NOTICE export const NOCHATOUTPUT_NOTICE_ALERT = - "There is no ChatOutput node in the flow."; + "There is no ChatOutput Component in the flow."; export const API_WARNING_NOTICE_ALERT = "Warning: Critical data, JSON file may include API keys."; export const COPIED_NOTICE_ALERT = "API Key copied!"; diff --git a/src/frontend/src/utils/reactflowUtils.ts b/src/frontend/src/utils/reactflowUtils.ts index f99efb481..012b0203a 100644 --- a/src/frontend/src/utils/reactflowUtils.ts +++ b/src/frontend/src/utils/reactflowUtils.ts @@ -264,7 +264,7 @@ export function buildTweaks(flow: FlowType) { export function validateNode(node: NodeType, edges: Edge[]): Array { if (!node.data?.node?.template || !Object.keys(node.data.node.template)) { return [ - "We've noticed a potential issue with a node in the flow. Please review it and, if necessary, submit a bug report with your exported flow file. Thank you for your help!", + "We've noticed a potential issue with a Component in the flow. Please review it and, if necessary, submit a bug report with your exported flow file. Thank you for your help!", ]; }