(step: Step)
| 82 | |
| 83 | |
| 84 | async def step_handler(step: Step) -> Step: |
| 85 | task = await Agent.db.get_task(step.task_id) |
| 86 | if step.name == StepTypes.PLAN: |
| 87 | return await _generate_shared_deps(step) |
| 88 | elif step.name == StepTypes.SPECIFY_FILE_PATHS: |
| 89 | return await _generate_file_paths(task, step) |
| 90 | else: |
| 91 | return await _generate_code(task, step) |
| 92 | |
| 93 | |
| 94 | Agent.setup_agent(task_handler, step_handler).start() |
nothing calls this directly
no test coverage detected