| name: "PlanReflectCritic" | |
| description: |-2 | |
| A flow that prompts the user to reflect on their conceptual solution and provide a corrected version if necessary. | |
| input_interface: [] | |
| output_interface: | |
| - fixed_reply | |
| fixed_reply: |2- | |
| Consider the problem statement and the last proposed solution. Are you sure that the solution is provided in the requested format, and crucially, solves the problem? | |
| If that is not the case, provide the corrected version of the conceptual solution in the following format: | |
| # Conceptual solution | |
| {{conceptual_solution}} | |
| otherwise, reply: | |
| "Final answer." | |