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

Function parse_args

tests/test_faiss.py:22–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20from src.logger import logger
21
22def parse_args():
23 parser = argparse.ArgumentParser(description='main')
24 parser.add_argument("--config", default=os.path.join(root, "configs", "tool_calling_agent.py"), help="config file path")
25
26 parser.add_argument(
27 '--cfg-options',
28 nargs='+',
29 action=DictAction,
30 help='override some settings in the used config, the key-value pair '
31 'in xxx=yyy format will be merged into config file. If the value to '
32 'be overwritten is a list, it should be like key="[a,b]" or key=a,b '
33 'It also allows nested list/tuple values, e.g. key="[(a,b),(c,d)]" '
34 'Note that the quotation marks are necessary and that no white space '
35 'is allowed.')
36 args = parser.parse_args()
37 return args
38
39class FaissTester:
40 """Comprehensive test suite for FAISS functionality."""

Callers 1

runFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected