Skip to content

Commit a2a20a7

Browse files
authored
chore: fix lint error (#530)
Signed-off-by: Huamin Chen <[email protected]>
1 parent 8605045 commit a2a20a7

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/semantic-router/cmd/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"github.com/prometheus/client_golang/prometheus/promhttp"
1414

1515
candle_binding "github.com/vllm-project/semantic-router/candle-binding"
16-
1716
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/api"
1817
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
1918
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/extproc"

src/semantic-router/pkg/api/server.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"time"
1414

1515
candle_binding "github.com/vllm-project/semantic-router/candle-binding"
16-
1716
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
1817
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/metrics"
1918
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/observability"
@@ -1507,7 +1506,6 @@ func (s *ClassificationAPIServer) handleSimilarity(w http.ResponseWriter, r *htt
15071506
req.Model,
15081507
req.Dimension,
15091508
)
1510-
15111509
if err != nil {
15121510
s.writeErrorResponse(w, http.StatusInternalServerError, "SIMILARITY_CALCULATION_FAILED",
15131511
fmt.Sprintf("failed to calculate similarity: %v", err))

0 commit comments

Comments
 (0)