Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
max_line_length = 80
trim_trailing_whitespace = true

[Makefile]
indent_style = tab
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Auto detect text files and perform LF normalization
* text=auto
* text eol=lf
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ dashboard/backend/dashboard-backend
dashboard/backend/dashboard-backend.exe

# Keep old HTML backup for reference
dashboard/frontend/index.html.old
dashboard/frontend/index.html.old
2 changes: 1 addition & 1 deletion dashboard/OWNER
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Dashboard directory Owners
@JaredforReal
@Xunzhuo
@Xunzhuo
2 changes: 1 addition & 1 deletion deploy/openshift/Dockerfile.llm-katan
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
CMD curl -f http://localhost:8000/health || exit 1

# Default command - this will be overridden by deployment args
CMD ["llm-katan", "--help"]
CMD ["llm-katan", "--help"]
2 changes: 1 addition & 1 deletion deploy/openshift/cleanup-openshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -491,4 +491,4 @@ main() {
}

# Run main function with all arguments
main "$@"
main "$@"
2 changes: 1 addition & 1 deletion deploy/openshift/config-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@ observability:
resource:
service_name: "vllm-semantic-router"
service_version: "v0.1.0"
deployment_environment: "development"
deployment_environment: "development"
2 changes: 1 addition & 1 deletion deploy/openshift/deploy-to-openshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -985,4 +985,4 @@ main() {
}

# Run main function with all arguments
main "$@"
main "$@"
2 changes: 1 addition & 1 deletion deploy/openshift/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,4 +348,4 @@ spec:
claimName: semantic-router-models
- name: cache-volume
persistentVolumeClaim:
claimName: semantic-router-cache
claimName: semantic-router-cache
2 changes: 1 addition & 1 deletion deploy/openshift/envoy-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ admin:
address:
socket_address:
address: "127.0.0.1"
port_value: 19000
port_value: 19000
2 changes: 1 addition & 1 deletion deploy/openshift/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ commonLabels:

# Add OpenShift-specific annotations
commonAnnotations:
deployment.openshift.io/type: "vllm-semantic-router"
deployment.openshift.io/type: "vllm-semantic-router"
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ echo " 1. Open https://$ROUTE_URL in your browser"
echo " 2. Complete initial setup in OpenWebUI"
echo " 3. The models should be automatically available"
echo ""
echo -e "${GREEN}✨ Happy chatting with your models!${NC}"
echo -e "${GREEN}✨ Happy chatting with your models!${NC}"
2 changes: 1 addition & 1 deletion deploy/openshift/openwebui/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ spec:
persistentVolumeClaim:
claimName: openwebui-data
- name: tmp-volume
emptyDir: {}
emptyDir: {}
2 changes: 1 addition & 1 deletion deploy/openshift/openwebui/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ commonLabels:
app.kubernetes.io/part-of: semantic-router

# Namespace for all resources
namespace: vllm-semantic-router-system
namespace: vllm-semantic-router-system
2 changes: 1 addition & 1 deletion deploy/openshift/openwebui/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
requests:
storage: 2Gi
# Use default storage class for OpenShift
# storageClassName: ""
# storageClassName: ""
2 changes: 1 addition & 1 deletion deploy/openshift/openwebui/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
wildcardPolicy: None
wildcardPolicy: None
2 changes: 1 addition & 1 deletion deploy/openshift/openwebui/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
protocol: TCP
name: http
selector:
app: openwebui
app: openwebui
2 changes: 1 addition & 1 deletion deploy/openshift/openwebui/uninstall-openwebui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ echo ""
echo -e "${BLUE}💡 To redeploy OpenWebUI:${NC}"
echo " ./deploy-openwebui-on-openshift.sh"
echo ""
echo -e "${GREEN}✨ Cleanup completed successfully!${NC}"
echo -e "${GREEN}✨ Cleanup completed successfully!${NC}"
2 changes: 1 addition & 1 deletion deploy/openshift/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,4 @@ parameters:
- name: METRICS_HOSTNAME
description: "Custom hostname for metrics route (leave empty for auto-generated)"
value: ""
required: false
required: false
2 changes: 1 addition & 1 deletion e2e-tests/llm-katan/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ __pycache__/

# OS files
.DS_Store
Thumbs.db
Thumbs.db
2 changes: 1 addition & 1 deletion e2e-tests/llm-katan/demo-embed.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
.pause(800)
.type('<span style="color: #4fc1e9;"># Same tiny model, different API names! 🎯</span>')
.go();
</script>
</script>
2 changes: 1 addition & 1 deletion e2e-tests/llm-katan/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ target-version = ['py38', 'py39', 'py310', 'py311', 'py312']

[tool.isort]
profile = "black"
line_length = 100
line_length = 100
2 changes: 1 addition & 1 deletion e2e-tests/llm-katan/terminal-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,4 @@
}, 8500); // Start after both terminals complete (~8.5 seconds)
</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion e2e-tests/start-llm-katan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ start_servers_foreground() {
}

# Main execution - always run in foreground mode
start_servers_foreground
start_servers_foreground
2 changes: 1 addition & 1 deletion scripts/quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,4 @@ main() {
trap 'echo; print_color $RED "❌ Setup interrupted!"; exit 1' INT TERM

# Run main function
main "$@"
main "$@"
2 changes: 1 addition & 1 deletion src/OWNER
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source code owners
@rootfs
@Xunzhuo
@wangchen615
@wangchen615
2 changes: 1 addition & 1 deletion src/training/training_lora/OWNER
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# lora training owners
@OneZero-Y
@OneZero-Y
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ go 1.24.1

replace github.com/vllm-project/semantic-router/candle-binding => ../../../../candle-binding

require github.com/vllm-project/semantic-router/candle-binding v0.0.0-00010101000000-000000000000
require github.com/vllm-project/semantic-router/candle-binding v0.0.0-00010101000000-000000000000
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,4 @@ echo ""

# Display final summary
echo "📊 FINAL CPU TRAINING SUMMARY:"
cat "$SUMMARY_FILE"
cat "$SUMMARY_FILE"
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ go 1.24.1

replace github.com/vllm-project/semantic-router/candle-binding => ../../../../candle-binding

require github.com/vllm-project/semantic-router/candle-binding v0.0.0-00010101000000-000000000000
require github.com/vllm-project/semantic-router/candle-binding v0.0.0-00010101000000-000000000000
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,4 @@ echo ""

# Display final summary
echo "📊 FINAL CPU TRAINING SUMMARY:"
cat "$SUMMARY_FILE"
cat "$SUMMARY_FILE"
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ go 1.24.1

replace github.com/vllm-project/semantic-router/candle-binding => ../../../../candle-binding

require github.com/vllm-project/semantic-router/candle-binding v0.0.0-00010101000000-000000000000
require github.com/vllm-project/semantic-router/candle-binding v0.0.0-00010101000000-000000000000
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,4 @@ echo ""

# Display final summary
echo "📊 FINAL CPU TRAINING SUMMARY:"
cat "$SUMMARY_FILE"
cat "$SUMMARY_FILE"
2 changes: 1 addition & 1 deletion tools/linter/go/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ formatters:
paths:
- examples$
- zz_generated


2 changes: 1 addition & 1 deletion tools/make/milvus.mk
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ stop-milvus-ui:
@echo "Stopping Attu (Milvus UI) container..."
@$(CONTAINER_RUNTIME) stop milvus-ui || true
@$(CONTAINER_RUNTIME) rm milvus-ui || true
@echo "Attu container stopped and removed"
@echo "Attu container stopped and removed"
2 changes: 1 addition & 1 deletion tools/make/openshift.mk
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@ openshift-help:
@echo "$(BLUE)Example usage:$(NC)"
@echo " make openshift-deploy-auto OPENSHIFT_SERVER=https://api.cluster.example.com:6443 OPENSHIFT_PASSWORD=mypass"
@echo " make openshift-status OPENSHIFT_NAMESPACE=my-namespace"
@echo " make openshift-logs"
@echo " make openshift-logs"
2 changes: 1 addition & 1 deletion website/src/components/ZoomableMermaid/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -372,4 +372,4 @@
.modalContent {
animation: none;
}
}
}
Loading