Skip to content

Conversation

@JannikSt
Copy link
Member

@JannikSt JannikSt commented Dec 30, 2025

Adds missing eval_config support to the RL API client.

Changes:

  • Add eval_config field to RLRun model
  • Add eval_config parameter to create_run()
  • Wire up payload["eval"] in request body

Relates to #256


Note

Introduces evaluation support and log streaming to hosted RL.

  • API: Add eval_config to RLRun; create_run() accepts eval_config and sends it as payload["eval"]; new get_logs(run_id, tail_lines) to fetch run logs.
  • CLI: New prime rl logs command with --follow/--tail, cleans output by stripping ANSI and filtering progress bars.
  • CLI run flow: Add eval options (--eval-envs, --eval-interval, --eval-num-examples, --eval-rollouts, --eval-base-model), merge with TOML [eval], warn if options used without eval envs, and show eval settings in summary; validate environment slug format.
  • Minor formatting/UX tweaks to messages and help text.

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

@JannikSt
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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.

2 participants