diff --git a/README.md b/README.md index 5ba6f0241..39d8b59c1 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ policy_model_name: gpt-4.1-2025-04-14" > env.yaml **Terminal 1 (start servers)**: ```bash # Start servers (this will keep running) -config_paths="resources_servers/example_single_tool_call/configs/single_tool_call.yaml,\ +config_paths="resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml,\ responses_api_models/openai_model/configs/openai_model.yaml" ng_run "+config_paths=[${config_paths}]" ``` diff --git a/docs/about/concepts/configuration.md b/docs/about/concepts/configuration.md index d240e54a1..0f892e6d7 100644 --- a/docs/about/concepts/configuration.md +++ b/docs/about/concepts/configuration.md @@ -21,7 +21,7 @@ responses_api_models/ # Resources Server Config resources_servers/ └── example_single_tool_call/ - └── configs/single_tool_call.yaml + └── configs/example_single_tool_call.yaml # Agent Server Config responses_api_agents/ diff --git a/docs/get-started/rollout-collection.md b/docs/get-started/rollout-collection.md index 97c63b272..9034f1466 100644 --- a/docs/get-started/rollout-collection.md +++ b/docs/get-started/rollout-collection.md @@ -61,7 +61,7 @@ If you still have servers running from the [Setup and Installation](setup-instal If not, start them again: ```bash -config_paths="resources_servers/example_single_tool_call/configs/single_tool_call.yaml,\ +config_paths="resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml,\ responses_api_models/openai_model/configs/openai_model.yaml" ng_run "+config_paths=[${config_paths}]" ``` @@ -75,7 +75,7 @@ In a separate terminal, run: ```bash ng_collect_rollouts +agent_name=single_tool_call_simple_agent \ +input_jsonl_fpath=resources_servers/example_single_tool_call/data/example.jsonl \ - +output_jsonl_fpath=results/single_tool_call_rollouts.jsonl \ + +output_jsonl_fpath=results/example_single_tool_call_rollouts.jsonl \ +limit=5 \ +num_repeats=2 \ +num_samples_in_parallel=3 @@ -119,7 +119,7 @@ Collecting rollouts: 100%|████████████████| 5/5 Launch the rollout viewer: ```bash -ng_viewer +jsonl_fpath=results/single_tool_call_rollouts.jsonl +ng_viewer +jsonl_fpath=results/example_single_tool_call_rollouts.jsonl ``` The viewer starts on port 7860 and accepts requests only from localhost by default. Visit in your browser. diff --git a/docs/get-started/setup-installation.md b/docs/get-started/setup-installation.md index b8245d769..8ddea69b9 100644 --- a/docs/get-started/setup-installation.md +++ b/docs/get-started/setup-installation.md @@ -177,7 +177,7 @@ Check your `env.yaml` file has the correct API key format. ```bash # Define which servers to start -config_paths="resources_servers/example_single_tool_call/configs/single_tool_call.yaml,\ +config_paths="resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml,\ responses_api_models/openai_model/configs/openai_model.yaml" # Start all servers diff --git a/docs/index.md b/docs/index.md index 4aaf7a51e..db07d5ce8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -55,7 +55,7 @@ policy_model_name: gpt-4.1-2025-04-14" > env.yaml ```bash # Start servers (this will keep running) -config_paths="resources_servers/example_single_tool_call/configs/single_tool_call.yaml,\ +config_paths="resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml,\ responses_api_models/openai_model/configs/openai_model.yaml" ng_run "+config_paths=[${config_paths}]" ``` diff --git a/docs/reference/cli-commands.md b/docs/reference/cli-commands.md index 2f726fa67..2d7c9dad5 100644 --- a/docs/reference/cli-commands.md +++ b/docs/reference/cli-commands.md @@ -47,7 +47,7 @@ This command reads configuration from YAML files specified via `+config_paths` a ```bash # Start servers with specific configs -config_paths="resources_servers/example_single_tool_call/configs/single_tool_call.yaml,\ +config_paths="resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml,\ responses_api_models/openai_model/configs/openai_model.yaml" ng_run "+config_paths=[${config_paths}]" ``` diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 327c62dc8..dbad7d5c1 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -126,7 +126,7 @@ policy_model_name: gpt-4o-2024-11-20 # Optional: store config paths for reuse my_config_paths: - responses_api_models/openai_model/configs/openai_model.yaml - - resources_servers/example_single_tool_call/configs/single_tool_call.yaml + - resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml # Optional: validation behavior error_on_almost_servers: true # Exit on invalid configs (default: true) diff --git a/nemo_gym/cli.py b/nemo_gym/cli.py index 8b895f320..40e1ac447 100644 --- a/nemo_gym/cli.py +++ b/nemo_gym/cli.py @@ -104,7 +104,7 @@ class RunConfig(BaseNeMoGymCLIConfig): Examples: ```bash - config_paths="resources_servers/example_single_tool_call/configs/single_tool_call.yaml,\\ + config_paths="resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml,\\ responses_api_models/openai_model/configs/openai_model.yaml" ng_run "+config_paths=[${config_paths}]" ``` @@ -383,7 +383,7 @@ def run( ```bash # Start servers with specific configs - config_paths="resources_servers/example_single_tool_call/configs/single_tool_call.yaml,\\ + config_paths="resources_servers/example_single_tool_call/configs/example_single_tool_call.yaml,\\ responses_api_models/openai_model/configs/openai_model.yaml" ng_run "+config_paths=[${config_paths}]" ```