MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / _run_workflow

Method _run_workflow

trinity/explorer/workflow_runner.py:122–127  ·  view source on GitHub ↗
(self, workflow_instance: Workflow)

Source from the content-addressed store, hash-verified

120 return self.workflow_instance
121
122 async def _run_workflow(self, workflow_instance: Workflow) -> List[Experience]:
123 if workflow_instance.asynchronous:
124 exps = await workflow_instance.run_async()
125 else:
126 exps = workflow_instance.run()
127 return exps
128
129 def _create_isolated_workflow_instance(self, task: Task) -> Workflow:
130 return task.to_workflow(

Callers 2

_execute_single_runMethod · 0.95
_run_taskMethod · 0.95

Calls 2

run_asyncMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected