MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / serve

Method serve

bmtools/tools/serve.py:94–95  ·  view source on GitHub ↗
(self, host : str = "0.0.0.0", port : int = 8079)

Source from the content-addressed store, hash-verified

92 return name in self.loaded_tools
93
94 def serve(self, host : str = "0.0.0.0", port : int = 8079):
95 uvicorn.run(self.api, host=host, port=port)
96
97 def list_tools(self) -> List[str]:
98 return list_tools()

Callers 1

run_tool_serverFunction · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected