{
+ void handleApprovalDecision(requestId, approved);
+ }}
+ onRunInterventionAction={(
+ messageId,
+ intervention,
+ action
+ ) => {
+ void handleRunInterventionAction(
+ messageId,
+ intervention,
+ action
+ );
+ }}
+ />
+ ))}
+ {activeConversation?.status === "needs_confirmation" ? (
+
+
+
+ {t(
+ "pages.chat.index.reviewPlan",
+ "Review the plan before creating resources."
+ )}
+
+ }
+ onClick={handleConfirmCreate}
+ type="primary"
+ >
+ {t(
+ "pages.chat.index.confirmAndCreate",
+ "Confirm and create"
+ )}
+
+
+
+ ) : null}
+