Skip to content

Conversation

Xunzhuo
Copy link
Member

@Xunzhuo Xunzhuo commented Oct 12, 2025

  • Add EditModal component with support for multiple field types (text, number, boolean, select, multiselect, textarea, json)
  • Implement full CRUD operations for Models and Endpoints (add, edit, delete)
  • Add edit functionality for all configuration sections:
    • Prompt Guard (PII Detection, Jailbreak Detection)
    • Similarity Cache (Similarity BERT, Semantic Cache)
    • Intelligent Routing (In-tree/Out-tree Classifiers)
    • Tools Selection
    • Observability (Distributed Tracing)
    • Classification API
  • Add edit functionality for Categories (system prompt, reasoning settings)
  • Add edit functionality for Reasoning Families
  • Add model score management in Categories (add, edit, delete model scores)
  • Implement dynamic dropdowns populated from configuration:
    • Reasoning Family selection from configured reasoning families
    • Preferred Endpoints selection from configured endpoints
    • Model selection for category model scores
  • Add complete pricing configuration (currency, prompt/completion costs)
  • Add complete PII policy configuration (allow/block, 17 PII types)
  • Visualize all configuration fields (no JSON input required)
  • Fix docker-compose volume mount to allow config file writes (ro -> rw)
  • Remove deprecated fields (endpoint models, health_check_path, monitoring dashboard)
  • Improve UI/UX with better card layouts, icons, and visual feedback

Backend changes:

  • Add POST /api/router/config/update endpoint for configuration updates
  • Add JSON to YAML conversion for config file writes

Frontend changes:

  • Create reusable EditModal component with field validation
  • Update ConfigPage with comprehensive edit buttons and handlers
  • Add CSS styles for edit buttons, model scores, and multiselect fields
  • Improve endpoint display (separate address, port, weight)

This enables full configuration management through the dashboard UI without manual YAML editing.

- Add EditModal component with support for multiple field types (text, number, boolean, select, multiselect, textarea, json)
- Implement full CRUD operations for Models and Endpoints (add, edit, delete)
- Add edit functionality for all configuration sections:
  * Prompt Guard (PII Detection, Jailbreak Detection)
  * Similarity Cache (Similarity BERT, Semantic Cache)
  * Intelligent Routing (In-tree/Out-tree Classifiers)
  * Tools Selection
  * Observability (Distributed Tracing)
  * Classification API
- Add edit functionality for Categories (system prompt, reasoning settings)
- Add edit functionality for Reasoning Families
- Add model score management in Categories (add, edit, delete model scores)
- Implement dynamic dropdowns populated from configuration:
  * Reasoning Family selection from configured reasoning families
  * Preferred Endpoints selection from configured endpoints
  * Model selection for category model scores
- Add complete pricing configuration (currency, prompt/completion costs)
- Add complete PII policy configuration (allow/block, 17 PII types)
- Visualize all configuration fields (no JSON input required)
- Fix docker-compose volume mount to allow config file writes (ro -> rw)
- Remove deprecated fields (endpoint models, health_check_path, monitoring dashboard)
- Improve UI/UX with better card layouts, icons, and visual feedback

Backend changes:
- Add POST /api/router/config/update endpoint for configuration updates
- Add JSON to YAML conversion for config file writes

Frontend changes:
- Create reusable EditModal component with field validation
- Update ConfigPage with comprehensive edit buttons and handlers
- Add CSS styles for edit buttons, model scores, and multiselect fields
- Improve endpoint display (separate address, port, weight)

This enables full configuration management through the dashboard UI without
manual YAML editing.

Signed-off-by: bitliu <[email protected]>
Copy link

👥 vLLM Semantic Team Notification

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

📁 Root Directory

Owners: @rootfs, @Xunzhuo
Files changed:

  • dashboard/frontend/src/components/EditModal.module.css
  • dashboard/frontend/src/components/EditModal.tsx
  • dashboard/backend/main.go
  • dashboard/frontend/src/components/ConfigNav.tsx
  • dashboard/frontend/src/pages/ConfigPage.module.css
  • dashboard/frontend/src/pages/ConfigPage.tsx

📁 deploy

Owners: @rootfs, @Xunzhuo
Files changed:

  • deploy/docker-compose/docker-compose.yml

vLLM

🎉 Thanks for your contributions!

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

Copy link

netlify bot commented Oct 12, 2025

Deploy Preview for vllm-semantic-router ready!

Name Link
🔨 Latest commit a8b1a0a
🔍 Latest deploy log https://app.netlify.com/projects/vllm-semantic-router/deploys/68ebb38528490f0009332ff8
😎 Deploy Preview https://deploy-preview-402--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
Copy link
Collaborator

rootfs commented Oct 12, 2025

@Xunzhuo can you post a screenshot? thanks

cc @JaredforReal

@Xunzhuo
Copy link
Member Author

Xunzhuo commented Oct 12, 2025

it changed a lot, configuration layout and we supported to configure in console, let us get this in. I have a few follow up to clean up

@rootfs rootfs merged commit 494b8eb into main Oct 12, 2025
9 checks passed
@JaredforReal
Copy link
Collaborator

image Encounter 500 internal network error, makes the edit frontend-only. But overall LGTM!

joyful-ii-V-I pushed a commit to joyful-ii-V-I/semantic-router that referenced this pull request Oct 13, 2025
…ject#402)

- Add EditModal component with support for multiple field types (text, number, boolean, select, multiselect, textarea, json)
- Implement full CRUD operations for Models and Endpoints (add, edit, delete)
- Add edit functionality for all configuration sections:
  * Prompt Guard (PII Detection, Jailbreak Detection)
  * Similarity Cache (Similarity BERT, Semantic Cache)
  * Intelligent Routing (In-tree/Out-tree Classifiers)
  * Tools Selection
  * Observability (Distributed Tracing)
  * Classification API
- Add edit functionality for Categories (system prompt, reasoning settings)
- Add edit functionality for Reasoning Families
- Add model score management in Categories (add, edit, delete model scores)
- Implement dynamic dropdowns populated from configuration:
  * Reasoning Family selection from configured reasoning families
  * Preferred Endpoints selection from configured endpoints
  * Model selection for category model scores
- Add complete pricing configuration (currency, prompt/completion costs)
- Add complete PII policy configuration (allow/block, 17 PII types)
- Visualize all configuration fields (no JSON input required)
- Fix docker-compose volume mount to allow config file writes (ro -> rw)
- Remove deprecated fields (endpoint models, health_check_path, monitoring dashboard)
- Improve UI/UX with better card layouts, icons, and visual feedback

Backend changes:
- Add POST /api/router/config/update endpoint for configuration updates
- Add JSON to YAML conversion for config file writes

Frontend changes:
- Create reusable EditModal component with field validation
- Update ConfigPage with comprehensive edit buttons and handlers
- Add CSS styles for edit buttons, model scores, and multiselect fields
- Improve endpoint display (separate address, port, weight)

This enables full configuration management through the dashboard UI without
manual YAML editing.

Signed-off-by: bitliu <[email protected]>
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