MCPcopy Create free account
hub / github.com/HKUDS/AutoAgent / workflow

Function workflow

autoagent/cli.py:89–91  ·  view source on GitHub ↗

命令行函数的同步包装器

(workflow_name: str, system_input: str)

Source from the content-addressed store, hash-verified

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')
89def workflow(workflow_name: str, system_input: str):
90 """命令行函数的同步包装器"""
91 return asyncio.run(async_workflow(workflow_name, system_input))
92
93async def async_workflow(workflow_name: str, system_input: str):
94 """异步实现的workflow函数"""

Callers

nothing calls this directly

Calls 2

async_workflowFunction · 0.85
runMethod · 0.80

Tested by

no test coverage detected