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

Function parse_args

tests/test_memory_system.py:30–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def parse_args():
31 parser = argparse.ArgumentParser(description='main')
32 parser.add_argument("--config", default=os.path.join(root, "configs", "tool_calling_agent.py"), help="config file path")
33
34 parser.add_argument(
35 '--cfg-options',
36 nargs='+',
37 action=DictAction,
38 help='override some settings in the used config, the key-value pair '
39 'in xxx=yyy format will be merged into config file. If the value to '
40 'be overwritten is a list, it should be like key="[a,b]" or key=a,b '
41 'It also allows nested list/tuple values, e.g. key="[(a,b),(c,d)]" '
42 'Note that the quotation marks are necessary and that no white space '
43 'is allowed.')
44 args = parser.parse_args()
45 return args
46
47async def main():
48 args = parse_args()

Callers 1

mainFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected