Skip to content

Conversation

@lilei199908
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings December 15, 2025 04:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the validation logic for rollout_max_prompt_len and rollout_max_context_len arguments to improve code readability and structure. The changes reorganize two sequential conditional blocks into a single nested conditional structure while maintaining identical behavior.

  • Restructured conditional logic to use nested if statements instead of sequential ones
  • Improved code readability by grouping related logic under a single outer condition

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lilei199908 lilei199908 merged commit 3537ec5 into THUDM:main Dec 15, 2025
8 checks passed
Fengzdadi pushed a commit to Fengzdadi/slime that referenced this pull request Dec 19, 2025
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