Skip to content

[Bugfix] Fix VLLM_ENFORCE_STRICT_TOOL_CALLING mutation in tests - #49846

Merged
sfeng33 merged 2 commits into
vllm-project:mainfrom
yzong-rh:yzong-rh/strict-tool-call-mutation
Jul 27, 2026
Merged

[Bugfix] Fix VLLM_ENFORCE_STRICT_TOOL_CALLING mutation in tests#49846
sfeng33 merged 2 commits into
vllm-project:mainfrom
yzong-rh:yzong-rh/strict-tool-call-mutation

Conversation

@yzong-rh

@yzong-rh yzong-rh commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Purpose

Fix a code smell / latent bug where tests sets env variable VLLM_ENFORCE_STRICT_TOOL_CALLING=0, potentially leading to tests assuming VLLM_ENFORCE_STRICT_TOOL_CALLING=1 to fail.

Occurred for #45560.

Test Plan

pytest  tests/parser

Test Result

3822 passed, 16 warnings in 44.92s

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.

Signed-off-by: Yifan Zong <yzong@redhat.com>
@yzong-rh yzong-rh changed the title Fix VLLM_ENFORCE_STRICT_TOOL_CALLING mutation in other tests [Bugfix] Fix VLLM_ENFORCE_STRICT_TOOL_CALLING mutation in tests Jul 25, 2026
@mergify mergify Bot added tool-calling bug Something isn't working labels Jul 25, 2026
@yzong-rh

Copy link
Copy Markdown
Contributor Author

cc @chaunceyjiang @sfeng33

@yzong-rh
yzong-rh marked this pull request as ready for review July 25, 2026 23:53

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@sfeng33
sfeng33 enabled auto-merge (squash) July 27, 2026 14:56
@github-actions github-actions Bot added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 27, 2026
@sfeng33
sfeng33 merged commit 3f47a83 into vllm-project:main Jul 27, 2026
18 checks passed
edwinlim0919 pushed a commit to chaeminlim-mb/vllm that referenced this pull request Jul 29, 2026
aoshen02 pushed a commit to zllion/vllm that referenced this pull request Aug 1, 2026
…-project#49846)

Signed-off-by: Yifan Zong <yzong@redhat.com>
Signed-off-by: aoshen02 <aoshen@inferact.ai>
pranavthakur0-0 pushed a commit to pranavthakur0-0/vllm that referenced this pull request Aug 4, 2026
itej89 pushed a commit to itej89/vllm that referenced this pull request Aug 4, 2026
…-project#49846)

Signed-off-by: Yifan Zong <yzong@redhat.com>
Signed-off-by: Tej Kiran <kiran.tej@amd.com>
aditi-amd pushed a commit to aditi-amd/vllm that referenced this pull request Aug 4, 2026
…-project#49846)

Signed-off-by: Yifan Zong <yzong@redhat.com>
Signed-off-by: root <root@smci355-ccs-aus-m02-09.cs-aus.dcgpu>
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 tool-calling

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants