(args: argparse.Namespace)
| 51 | |
| 52 | |
| 53 | async def _run(args: argparse.Namespace) -> None: |
| 54 | from agent.deep_agent.runner import DeepAgentRunner |
| 55 | |
| 56 | runner = DeepAgentRunner( |
| 57 | model=args.model_id, |
| 58 | recursion_limit=args.recursion_limit, |
| 59 | ) |
| 60 | result = await runner.run(args.question) |
| 61 | print_result( |
| 62 | result, show_trajectory=args.show_trajectory, output_json=args.output_json |
| 63 | ) |
| 64 | |
| 65 | |
| 66 | def main() -> None: |
nothing calls this directly
no test coverage detected