{paragraph}
); } else { promptDetails = Object.entries(prompt).map(([key, value]) => { + const isStepwiseThoughtProcess = Constants.STEPWISE_RESULT_NOT_FOUND_REGEX.test(value as string); return value ? ({paragraph}
- ))} + {isStepwiseThoughtProcess ? ( ++ {paragraph} +
+ ))} +