Skip to content

Separate the setup so that clone/dependency install is separate from configuring model API access #364

Closed

Description

@hwolff99

Use cases, pain points, and background
In the Quickstart setup, the cloning of the repo and installation of dependencies are in the same code block as configuring model API access. This is not great for several reasons:

  1. Configuring the model API access is very different than git clone/dep install so it should be separate code block
  2. It's very easy to miss setting api keys if you copy paste all 16 lines and are not reading/thinking section by section.
  3. It doesn't create the opportunity to explain why openai is the policy model.

Description:
Separate out blocks into

git clone [email protected]:NVIDIA-NeMo/Gym.git
cd Gym

# Install dependencies
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env
uv venv --python 3.12 && source .venv/bin/activate
uv sync --extra dev --group docs

and

# Configure your model API access
echo "policy_base_url: https://api.openai.com/v1
policy_api_key: your-openai-api-key
policy_model_name: gpt-4.1-2025-04-14" > env.yaml

Design:
Change README section with setup.

Out of scope:
Explanation of OpenAI model usage.

Acceptance Criteria:

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions