Skip to content

[Router] Fix: wire Valkey config into createSemanticCache#1737

Merged
rootfs merged 2 commits intovllm-project:mainfrom
daric93:fix/valkey-cache-config-wiring
Apr 10, 2026
Merged

[Router] Fix: wire Valkey config into createSemanticCache#1737
rootfs merged 2 commits intovllm-project:mainfrom
daric93:fix/valkey-cache-config-wiring

Conversation

@daric93
Copy link
Copy Markdown
Contributor

@daric93 daric93 commented Apr 9, 2026

Summary

  • The Valkey field was missing from the CacheConfig struct initialization in createSemanticCache, causing the Valkey semantic cache backend to always fail with "valkey configuration is required" even when properly configured in the router config.
  • This is a one-liner fix adding Valkey: semanticCacheCfg.Valkey alongside the existing Redis and Milvus fields.

The Valkey field was missing from the CacheConfig struct initialization
in createSemanticCache, causing Valkey semantic cache backend to always
fail with "valkey configuration is required" even when properly configured.

Signed-off-by: Daria Korenieva <daric2612@gmail.com>
@daric93 daric93 requested review from Xunzhuo and rootfs as code owners April 9, 2026 19:32
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 9, 2026

Deploy Preview for vllm-semantic-router ready!

Name Link
🔨 Latest commit fddc47a
🔍 Latest deploy log https://app.netlify.com/projects/vllm-semantic-router/deploys/69d94171fd8fd30008d7d796
😎 Deploy Preview https://deploy-preview-1737--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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

👥 vLLM Semantic Team Notification

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

📁 src/semantic-router

Owners: @rootfs, @Xunzhuo, @szedan-rh, @yehuditkerido, @abdallahsamabd, @asaadbalum, @liavweiss, @noalimoy
Files changed:

  • src/semantic-router/pkg/extproc/router_components.go

vLLM

🎉 Thanks for your contributions!

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

✅ Supply Chain Security Report — All Clear

Scanner Status Findings
AST Codebase Scan (Py, Go, JS/TS, Rust) 27 finding(s) — MEDIUM: 21 · LOW: 6
AST PR Diff Scan No issues detected
Regex Fallback Scan No issues detected

Scanned at 2026-04-10T18:30:11.570Z · View full workflow logs

@daric93
Copy link
Copy Markdown
Contributor Author

daric93 commented Apr 10, 2026

@rootfs this PR is a fix to properly wire Valkey config. Please take a look when you have a chance

@rootfs rootfs merged commit 4becc29 into vllm-project:main Apr 10, 2026
32 checks passed
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.

9 participants