Skip to content

Conversation

@maang-h
Copy link
Contributor

@maang-h maang-h commented Nov 27, 2025

Purpose

Improved the documentation for the priority parameter in LLM.generate() method to make it clearer that it must be a list (not a single int) when provided.

Signed-off-by: maang <maang_h@163.com>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request improves the documentation for the priority parameter in the LLM.generate() method, clarifying that it must be a list of the same length as the prompts. The change is accurate and helpful. I've added one suggestion to further improve the docstring by explicitly mentioning that the list should contain integers, which enhances API clarity and can help prevent runtime errors.

Signed-off-by: maang <maang_h@163.com>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
Signed-off-by: maang-h <55082429+maang-h@users.noreply.github.com>
@vllm-bot vllm-bot merged commit 51906c8 into vllm-project:main Nov 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants