nemo_gym.sandbox.utils

View as Markdown

Sandbox utility helpers.

Module Contents

Functions

NameDescription
rewrite_imageApply ordered image-prefix rewrites used by sandbox configs.

API

nemo_gym.sandbox.utils.rewrite_image(
image: str | None,
rewrites: list[dict[str, str]]
) -> str | None

Apply ordered image-prefix rewrites used by sandbox configs.