+
+ architecture
+
+ {t('settings.permissions.plan')}
+
+ {isPending ? (
+
+
+ {t('tool.preparingTool')}
+
+ ) : null}
+ {result?.isError ? (
+ error
+ ) : null}
+
+
+ {result?.isError && errorText ? (
+
+ {renderResultOutput(result, errorText, t)}
+
+ ) : null}
+
+ )
+}
+
function PlanToolCallBlock({
input,
result,