Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ echo '{"responses_create_params":{"input":[{"role":"developer","content":"You ar

# Collect verified rollouts
ng_collect_rollouts \
+agent_name=single_tool_call_simple_agent \
+agent_name=example_single_tool_call_simple_agent \
+input_jsonl_fpath=weather_query.jsonl \
+output_jsonl_fpath=weather_rollouts.jsonl

Expand Down
4 changes: 2 additions & 2 deletions docs/get-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ policy_model_name: gpt-4.1-2025-04-14" > env.yaml

```bash
# Start servers (this will keep running)
config_paths="resources_servers/example_simple_weather/configs/simple_weather.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}]"
```
Expand All @@ -90,7 +90,7 @@ echo '{"responses_create_params":{"input":[{"role":"developer","content":"You ar

# Collect verified rollouts
ng_collect_rollouts \
+agent_name=simple_weather_simple_agent \
+agent_name=example_single_tool_call_simple_agent \
+input_jsonl_fpath=weather_query.jsonl \
+output_jsonl_fpath=weather_rollouts.jsonl

Expand Down
8 changes: 4 additions & 4 deletions docs/get-started/rollout-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ responses_api_models/openai_model/configs/openai_model.yaml"
ng_run "+config_paths=[${config_paths}]"
```

**✅ Success Check**: You should see 3 Gym servers running including the `single_tool_call_simple_agent`, along with the head server.
**✅ Success Check**: You should see 3 Gym servers running including the `example_single_tool_call_simple_agent`, along with the head server.

## 3. Generate Rollouts

In a separate terminal, run:

```bash
ng_collect_rollouts +agent_name=single_tool_call_simple_agent \
ng_collect_rollouts +agent_name=example_single_tool_call_simple_agent \
+input_jsonl_fpath=resources_servers/example_single_tool_call/data/example.jsonl \
+output_jsonl_fpath=results/example_single_tool_call_rollouts.jsonl \
+limit=5 \
Expand Down Expand Up @@ -131,10 +131,10 @@ By default, the viewer accepts requests only from localhost (`server_host=127.0.

```bash
# Accept requests from anywhere (e.g., for remote access)
ng_viewer +jsonl_fpath=results/simple_weather_rollouts.jsonl +server_host=0.0.0.0
ng_viewer +jsonl_fpath=results/example_single_tool_call_rollouts.jsonl +server_host=0.0.0.0

# Use a custom port
ng_viewer +jsonl_fpath=results/simple_weather_rollouts.jsonl +server_port=8080
ng_viewer +jsonl_fpath=results/example_single_tool_call_rollouts.jsonl +server_port=8080
```
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/cli-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Perform a batch of rollout collection.

```bash
ng_collect_rollouts \
+agent_name=single_tool_call_simple_agent \
+agent_name=example_single_tool_call_simple_agent \
+input_jsonl_fpath=weather_query.jsonl \
+output_jsonl_fpath=weather_rollouts.jsonl \
+limit=100 \
Expand Down
2 changes: 1 addition & 1 deletion nemo_gym/rollout_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RolloutCollectionConfig(BaseNeMoGymCLIConfig):

```bash
ng_collect_rollouts \
+agent_name=single_tool_call_simple_agent \
+agent_name=example_single_tool_call_simple_agent \
+input_jsonl_fpath=weather_query.jsonl \
+output_jsonl_fpath=weather_rollouts.jsonl \
+limit=100 \
Expand Down
2 changes: 1 addition & 1 deletion resources_servers/example_single_tool_call/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

server_client = ServerClient.load_from_global_config()
task = server_client.post(
server_name="my_single_tool_call_server",
server_name="example_single_tool_call",
url_path="/get_weather",
json={
"city": "San Francisco, CA",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ example_single_tool_call:
domain: agent
verified: false
description: Basic single-step tool calling
single_tool_call_simple_agent:
example_single_tool_call_simple_agent:
responses_api_agents:
simple_agent:
entrypoint: app.py
Expand Down
2 changes: 1 addition & 1 deletion responses_api_agents/simple_agent/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

server_client = ServerClient.load_from_global_config()
task = server_client.post(
server_name="single_tool_call_simple_agent",
server_name="example_single_tool_call_simple_agent",
url_path="/v1/responses",
json=NeMoGymResponseCreateParamsNonStreaming(
input=[
Expand Down