AI 服务暂时不可用,以下为来源正文,待恢复后补全翻译。
Today we’re making VM Sandboxes generally available on Modal, built for those who need to give their agents the power of a full computer. import modal app = modal.App.lookup("sandbox-manager", create_if_missing=True) sb = modal.Sandbox.create(app=app, runtime="vm") print(sb.exec("uname", "-srn").stdout.read()) # Linux modal 7.2.6