Skip to content

Add adapter upload configuration support#384

Open
JannikSt wants to merge 1 commit intomainfrom
feature/adapter-uploads
Open

Add adapter upload configuration support#384
JannikSt wants to merge 1 commit intomainfrom
feature/adapter-uploads

Conversation

@JannikSt
Copy link
Member

@JannikSt JannikSt commented Feb 13, 2026

Summary

  • Add AdaptersConfig class with interval and keep_last settings
  • Add adapters_config parameter to create_run API
  • Update config template with [adapters] section

Config Example

[adapters]
interval = 100  # Upload adapter every 100 steps (0 = only at run end)
keep_last = 3   # Keep 3 adapters in cloud (-1 = keep all)

Note

Low Risk
Additive, optional CLI/API payload fields to configure adapter uploads; main risk is backend schema mismatch if the new adapters payload is not supported.

Overview
Adds optional adapter upload configuration for hosted RL runs via a new [adapters] block (with interval and keep_last) in the generated RL TOML template.

Plumbs this config through the CLI into the API: introduces AdaptersConfig on RLConfig, passes adapters_config to RLClient.create_run, and includes an adapters object in the /rft/runs create-run payload when provided.

Written by Cursor Bugbot for commit 50dda36. This will update automatically on new commits. Configure here.

- Add AdaptersConfig class with interval and keep_last settings
- Add adapters_config parameter to RLClient.create_run()
- Update config template with adapter upload options
@JannikSt JannikSt force-pushed the feature/adapter-uploads branch from 295ea29 to 50dda36 Compare February 26, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant