From 7dab6f1ed493f72c171f4e58ed7655b6a8ecd76c Mon Sep 17 00:00:00 2001 From: gwarmstrong Date: Sun, 2 Aug 2026 14:31:32 -0700 Subject: [PATCH] docs(fern): migrate remaining examples to unified CLI Signed-off-by: gwarmstrong --- .../infrastructure/sandbox/ecs-fargate.mdx | 5 ++++- .../latest/pages/model-server/vllm.mdx | 20 +++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/fern/versions/latest/pages/infrastructure/sandbox/ecs-fargate.mdx b/fern/versions/latest/pages/infrastructure/sandbox/ecs-fargate.mdx index 838d85692da..90fede182e9 100644 --- a/fern/versions/latest/pages/infrastructure/sandbox/ecs-fargate.mdx +++ b/fern/versions/latest/pages/infrastructure/sandbox/ecs-fargate.mdx @@ -108,7 +108,10 @@ asyncio.run(main()) For an end-to-end agent run, add this provider config to `mini_swe_agent_2`'s config paths — the agent config is unchanged: ```bash -ng_run "+config_paths=[responses_api_agents/mini_swe_agent_2/configs/mini_swe_agent_2.yaml, nemo_gym/sandbox/providers/ecs_fargate/configs/ecs_fargate.yaml, ]" +gym env start \ + --config responses_api_agents/mini_swe_agent_2/configs/mini_swe_agent_2.yaml \ + --config nemo_gym/sandbox/providers/ecs_fargate/configs/ecs_fargate.yaml \ + --config ``` ## Troubleshooting diff --git a/fern/versions/latest/pages/model-server/vllm.mdx b/fern/versions/latest/pages/model-server/vllm.mdx index 5b04e337749..43b5d493acf 100644 --- a/fern/versions/latest/pages/model-server/vllm.mdx +++ b/fern/versions/latest/pages/model-server/vllm.mdx @@ -217,17 +217,17 @@ When `return_token_id_information: true`, the completions backend automatically The end-to-end flow is identical to the [Use VLLMModel](#use-vllmmodel) walkthrough above; just swap the model-server config: ```bash -config_paths="resources_servers/example_multi_step/configs/example_multi_step.yaml,\ -responses_api_models/vllm_model/configs/vllm_model_completions.yaml" - -ng_run "+config_paths=[$config_paths]" \ - ++policy_base_url=http://0.0.0.0:10240/v1 \ - ++policy_model_name= \ - ++policy_api_key=dummy_key +gym env start \ + --config resources_servers/example_multi_step/configs/example_multi_step.yaml \ + --config responses_api_models/vllm_model/configs/vllm_model_completions.yaml \ + --model-url http://0.0.0.0:10240/v1 \ + --model \ + --model-api-key dummy_key -ng_collect_rollouts +agent_name= \ - +input_jsonl_fpath= \ - +output_jsonl_fpath=results/rollouts_completions.jsonl +gym eval run --no-serve \ + --agent \ + --input \ + --output results/rollouts_completions.jsonl ``` Make sure your input JSONL respects the selected mode in the [Constraint matrix](#constraint-matrix) above.