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

Method main

tests/tools/test_code_file.py:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 def test_code_file(self):
14
15 async def main():
16 engine = AgentLoader.build(
17 'ms-agent/simple_agent_code', trust_remote_code=True)
18 messages = await engine.run('who are you?')
19 self.assertTrue('😁' in messages[-1].content)
20
21 asyncio.run(main())
22

Callers 2

test_code_file.pyFile · 0.45
test_lsp.pyFile · 0.45

Calls 2

buildMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected