Skip to content

Conversation

@russellb
Copy link
Member

This was a mistake introduced by #22772. Structured output requests
were not actually working because the format spec was not placed in
the proper new location in the request body.

Signed-off-by: Russell Bryant rbryant@redhat.com

This was a mistake introduced by vllm-project#22772. Structured output requests
were not actually working because the format spec was not placed in
the proper new location in the request body.

Signed-off-by: Russell Bryant <rbryant@redhat.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 correctly fixes a regression in the structured output benchmark by updating how the request body is constructed for structured output requests. The schema is now properly nested under the structured_outputs key, aligning with the API. While this change is correct, I noticed that the code for stopping the profiler (around line 668) still uses the old, incorrect format for the extra_body. It would be good to fix this as well to ensure profiling works correctly.

Copy link
Member

@hmellor hmellor left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@hmellor hmellor enabled auto-merge (squash) September 24, 2025 09:10
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 24, 2025
@hmellor hmellor merged commit 1642995 into vllm-project:main Sep 24, 2025
30 of 31 checks passed
yewentao256 pushed a commit that referenced this pull request Oct 3, 2025
Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: yewentao256 <zhyanwentao@126.com>
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 10, 2025
…ct#25500)

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
choprahetarth pushed a commit to Tandemn-Labs/vllm that referenced this pull request Oct 11, 2025
lywa1998 pushed a commit to lywa1998/vllm that referenced this pull request Oct 20, 2025
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
…ct#25500)

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance-related issues ready ONLY add when PR is ready to merge/full CI is needed structured-output

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants