Skip to content

Conversation

@cryo-zd
Copy link
Contributor

@cryo-zd cryo-zd commented Sep 9, 2025

What type of PR is this?

refactor: use slices.Contains for readability and consistency

What this PR does / why we need it:
This PR replaces manual for-loop lookups with slices.Contains across the codebase. This improves readability, reduces boilerplate, and keeps style consistent.

Which issue(s) this PR fixes:

Fixes #

Release Notes: Yes/No

Signed-off-by: cryo <zdtna412@gmail.com>
@github-actions
Copy link

github-actions bot commented Sep 9, 2025

👥 vLLM Semantic Team Notification

The following members have been identified for the changed files in this PR and have been automatically assigned:

📁 src

Owners: @rootfs, @Xunzhuo, @wangchen615
Files changed:

  • src/semantic-router/pkg/config/config.go
  • src/semantic-router/pkg/utils/pii/policy.go

vLLM

🎉 Thanks for your contributions!

This comment was automatically generated based on the OWNER files in the repository.

@rootfs
Copy link
Collaborator

rootfs commented Sep 9, 2025

@cryo-zd this is great, thanks!

@netlify
Copy link

netlify bot commented Sep 9, 2025

Deploy Preview for vllm-semantic-router ready!

Name Link
🔨 Latest commit 825daad
🔍 Latest deploy log https://app.netlify.com/projects/vllm-semantic-router/deploys/68c05643a5ac3000091daa35
😎 Deploy Preview https://deploy-preview-104--vllm-semantic-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rootfs rootfs merged commit 7104b72 into vllm-project:main Sep 9, 2025
8 of 9 checks passed
@cryo-zd cryo-zd deleted the slices branch September 9, 2025 16:35
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.

4 participants