Add run_config passthrough for orchestrator settings#497
Merged
Conversation
Expose the `[run_config]` TOML section to pass arbitrary orchestrator CLI args (e.g. use_token_client, max_concurrent, filters) through to hosted training. The backend already supports `runConfig` as a freeform dict that gets converted to CLI args via `_build_cli_args`. Usage: [run_config] use_token_client = false max_concurrent = 512 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
JannikSt
approved these changes
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
[run_config]TOML section for passing arbitrary orchestrator CLI args to hosted trainingrunConfigas a freeform dict converted to CLI args — this just wires it up in the CLIuse_token_client,max_concurrent,filters,advantage, etc. that aren't first-class CLI fieldsUsage
Test plan
prime rl runwith[run_config]section parses without errorrunConfigappears in API payload🤖 Generated with Claude Code
Note
Medium Risk
Adds a freeform
run_configdict to the RL run config and forwards it to the/rft/runspayload, which can change orchestrator behavior and potentially cause unexpected run failures if misconfigured.Overview
Adds support for a freeform
run_configsection inprime rl runconfigs. The CLI now parsesrun_config, prints it in the training config preview, and passes it through toRLClient.create_runso it is included asrun_configin the/rft/runsrequest payload.Reviewed by Cursor Bugbot for commit b6d3de4. Bugbot is set up for automated code reviews on this repo. Configure here.