toHostPath

abstract fun toHostPath(path: Path): Path(source)

将容器内路径转换为宿主路径,适用于根据 LLM 的请求读写宿主文件系统。

Throws

提供的路径超出了宿主挂载范围。