Skip to content

Conversation

@Jialin
Copy link
Collaborator

@Jialin Jialin commented Oct 13, 2025

Purpose

Fix type check errors due to type check variable VLLM_DEBUG_LOG_API_SERVER_RESPONSE undefined.

We ran into this error in #26146 which is not directly related.

Test Plan

N/A

Test Result

N/A


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

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 resolves a type checking error by adding the type definition for the VLLM_DEBUG_LOG_API_SERVER_RESPONSE environment variable within the TYPE_CHECKING block. The change is accurate, consistent with its runtime implementation, and effectively fixes the reported issue. The code is clean and I have no further recommendations.

@Jialin
Copy link
Collaborator Author

Jialin commented Oct 13, 2025

CC @terrytangyuan who firstly introduced the environment variable a while back ago.

Copy link
Contributor

@terrytangyuan terrytangyuan 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!

@mgoin mgoin added bug Something isn't working ready ONLY add when PR is ready to merge/full CI is needed labels Oct 13, 2025
Copy link
Member

@mgoin mgoin left a comment

Choose a reason for hiding this comment

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

Thanks @Jialin

@mgoin mgoin enabled auto-merge (squash) October 13, 2025 23:53
@mgoin mgoin merged commit cfded80 into vllm-project:main Oct 14, 2025
50 checks passed
@Jialin Jialin deleted the env-fix branch October 14, 2025 06:26
@Jialin Jialin restored the env-fix branch October 14, 2025 07:32
@Jialin Jialin deleted the env-fix branch October 14, 2025 07:32
1994 pushed a commit to 1994/vllm that referenced this pull request Oct 14, 2025
Dhruvilbhatt pushed a commit to Dhruvilbhatt/vllm that referenced this pull request Oct 14, 2025
bbartels pushed a commit to bbartels/vllm that referenced this pull request Oct 16, 2025
lywa1998 pushed a commit to lywa1998/vllm that referenced this pull request Oct 20, 2025
alhridoy pushed a commit to alhridoy/vllm that referenced this pull request Oct 24, 2025
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
rtourgeman pushed a commit to rtourgeman/vllm that referenced this pull request Nov 10, 2025
Zhathw pushed a commit to Zhathw/vllm that referenced this pull request Nov 12, 2025
devpatelio pushed a commit to SumanthRH/vllm that referenced this pull request Nov 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants