MCPcopy Create free account
hub / github.com/modelscope/ms-agent / execute_sync

Method execute_sync

ms_agent/skill/container.py:1392–1397  ·  view source on GitHub ↗

Synchronous wrapper for execute().

(self,
                     executor_type: ExecutorType,
                     skill_id: str = 'unknown',
                     **kwargs)

Source from the content-addressed store, hash-verified

1390 raise ValueError(f'Unsupported executor type: {executor_type}')
1391
1392 def execute_sync(self,
1393 executor_type: ExecutorType,
1394 skill_id: str = 'unknown',
1395 **kwargs) -> ExecutionOutput:
1396 """Synchronous wrapper for execute()."""
1397 return asyncio.run(self.execute(executor_type, skill_id, **kwargs))
1398
1399 def link_skills(self,
1400 upstream_skill_id: str,

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected