MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / parse_args

Function parse_args

tests/test_models.py:342–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340 logger.info(f"| --------------------------------------------------")
341
342def parse_args():
343 parser = argparse.ArgumentParser(description='main')
344 parser.add_argument("--config", default=os.path.join(root, "configs", "tool_calling_agent.py"), help="config file path")
345
346 parser.add_argument(
347 '--cfg-options',
348 nargs='+',
349 action=DictAction,
350 help='override some settings in the used config, the key-value pair '
351 'in xxx=yyy format will be merged into config file. If the value to '
352 'be overwritten is a list, it should be like key="[a,b]" or key=a,b '
353 'It also allows nested list/tuple values, e.g. key="[(a,b),(c,d)]" '
354 'Note that the quotation marks are necessary and that no white space '
355 'is allowed.')
356 args = parser.parse_args()
357 return args
358
359async def main():
360 args = parse_args()

Callers 1

mainFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected