toContainerPath

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

将宿主路径转换为容器内路径,适用于保存文件后提供给 LLM 路径,或在容器内执行命令的场景。

Throws

提供的路径未被挂载到容器内。