命令行函数的同步包装器
(workflow_name: str, system_input: str)
| 87 | @click.option('--workflow_name', default=None, help='the name of the workflow') |
| 88 | @click.option('--system_input', default='...', help='the user query to the agent') |
| 89 | def workflow(workflow_name: str, system_input: str): |
| 90 | """命令行函数的同步包装器""" |
| 91 | return asyncio.run(async_workflow(workflow_name, system_input)) |
| 92 | |
| 93 | async def async_workflow(workflow_name: str, system_input: str): |
| 94 | """异步实现的workflow函数""" |
nothing calls this directly
no test coverage detected