(solver: REACT, output: RequestOutput)
| 72 | |
| 73 | @staticmethod |
| 74 | def processor(solver: REACT, output: RequestOutput) -> REACT: |
| 75 | step_result = output.outputs[0].text.strip() |
| 76 | try: |
| 77 | step_result, parser_result = solver.step_unwrap(step_result) |
| 78 | except Exception as e: |
| 79 | parser_result = None |
| 80 | solver.update_current_node(step_result, parser_result) |
| 81 | return solver |
| 82 | |
| 83 | def batch_generate(self, questions: List[str]): |
| 84 |
nothing calls this directly
no test coverage detected