Repository navigation
docs(model-server): finish model-call capture page polish - #4550
Conversation
Close the items from NVBug 6534797 that #2415 left open on the main docs tree: - Title the page "Model-Call Capture" like its sibling pages, and use that label on the index card and on links that name the page. - Link "global config" to the Configuration reference. - Show no default for model_call_capture_dir; say in the description that it is required when observability_enabled is true. - List the custom-agent routing helpers in a table of when to use each. Frozen GA snapshots (v0.5.0, v0.5.1, ...) are unchanged. Regression tests in test_fern_docs_links.py cover each item. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: qiaochuz <[email protected]>
The metrics page described omitted rollouts as "a kill-shaped failure", the internal jargon NVBug 6534797 asked the docs to drop. Name the `kill_shaped` failure class and say what it covers: a Slurm SIGTERM, a dead Ray actor, or an out-of-memory kill (as aggregate-metrics.mdx does). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: qiaochuz <[email protected]>
yaoyu-33
left a comment
There was a problem hiding this comment.
LGTM. The updated helper/config descriptions match the implementation. Docs-link and focused helper tests passed.
|
/ok to test 3718bd9 |
@qiaochuz-nv, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
|
/ok to test ed8420b |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/38339768994 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/38340494241 |
What does this PR do?
Finishes the Model-Call Capture page review from NVBug 6534797. #2415 rewrote the page and covered most of the report. This PR closes the items still open on
main:—as the default formodel_call_capture_dir. Its description now says it is required whenobservability_enabledis true.omittedoutcomes, with thekill_shapedclass name and what it covers.Fixes NVBug 6534797.
Closes #4494.
Cause
The bug's 2026-08-06 comment listed polish items for the page. #2415 (
3260c981e) addressed the original report, adding the copy-paste run, samples, and index card. Its review raised none of the comment's medium and low items, so they were left as-is:"Model-call capture". 120 of the 124 page titles underfern/versions/latest/pagesare Title Case, including every sibling inmodel-server/. Links that name the page used two different casings, neither of them the Title Case form.required when enabled.7321716b7) later added "a kill-shaped failure" toobservability/metrics.mdx.Fix
Edits are in
fern/versions/latest/pagesonly:model-server/model-call-capture.mdx:nemo_gym/base_responses_api_model.py, which raisesmodel_call_capture_dir is required when observability_enabled=true.nemo_gym/base_responses_api_agent.pyand howsimple_agentuses the helpers:url_path_for_runprefixes the run's self-call to/v1/responses, andurl_path_for_requestcarries that prefix on to the model call.model-server/index.mdx: card title.model-server/anthropic-messages.mdx,observability/rollout-evidence.mdx,observability/harness-conformance.mdxandtraining-tutorials/external-agent-harnesses.mdx: link label.observability/metrics.mdx: anomittedoutcome is now "a no-persist result written to neither, such as akill_shapedfailure: a Slurm SIGTERM, a dead Ray actor, or an out-of-memory kill". This matchesevaluation/aggregate-metrics.mdxand thekill_shapedcomment innemo_gym/rollout_collection.py.v0.5.0throughv0.7.0). They are frozen GA snapshots, whichfern/README.mdsays change only by deliberate back-port.model-server/sibling page has one.tests/unit_tests/test_fern_docs_links.pygets one test per item. The existing index-card test now expects the new title onlatestand the shipped title on the snapshots.Before the fix
Gym
7f16ec541(main), with this PR's test file:Link labels that name the page on
main, fromfern/versions/latest/pages:After the fix
Gym
ed8420b24(this branch), same commands:The grep finds no mixed-case labels; every label that names the page is now
Model-Call Capture.Validation
pytest tests/unit_tests/test_fern_docs_links.py: before 9 failed / 19 passed; after 23 passed.cd fern && npm run check(fern check): 0 errors, 1 warning, the same asmain. The warning is "Missing redirects check skipped: not authenticated".pre-commit run --files <changed files>: passed.nmfw_testscase reads the edited text.Compatibility
Page URLs and anchors are unchanged. Only the nav label changes, from "Model-call capture" to "Model-Call Capture".
🤖 Generated with Claude Code