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

Function main

tests/test_models.py:359–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

357 return args
358
359async def main():
360 args = parse_args()
361
362 config.initialize(config_path=args.config, args=args)
363 logger.initialize(config=config)
364 logger.info(f"| Config: {config.pretty_text}")
365
366 # Initialize model manager
367 await model_manager.initialize()
368 logger.info(f"| Model manager initialized: {await model_manager.list()}")
369
370 # Initialize tools
371 await tcp.initialize(tool_names=config.tool_names)
372 logger.info(f"| Tools initialized: {await tcp.list()}")
373
374 # await test_chat()
375 await test_response_format()
376 # await test_tool_calling()
377 # await test_transcription()
378 # await test_embedding()
379 # await test_video()
380 # await test_pdf()
381 # await test_search()
382
383if __name__ == "__main__":
384 asyncio.run(main())

Callers 1

test_models.pyFile · 0.70

Calls 5

test_response_formatFunction · 0.85
parse_argsFunction · 0.70
initializeMethod · 0.45
infoMethod · 0.45
listMethod · 0.45

Tested by

no test coverage detected