Skip to content

Commit c8e9266

Browse files
committed
rebase
Signed-off-by: Huamin Chen <[email protected]>
1 parent 2fb44f5 commit c8e9266

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

src/semantic-router/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ go 1.24.1
44

55
replace (
66
github.com/vllm-project/semantic-router/candle-binding => ../../candle-binding
7+
github.com/vllm-project/semantic-router/src/semantic-router/pkg/cache => ./pkg/cache
78
github.com/vllm-project/semantic-router/src/semantic-router/pkg/config => ./pkg/config
89
github.com/vllm-project/semantic-router/src/semantic-router/pkg/extproc => ./pkg/extproc
10+
github.com/vllm-project/semantic-router/src/semantic-router/pkg/metrics => ./pkg/metrics
11+
github.com/vllm-project/semantic-router/src/semantic-router/pkg/observability => ./pkg/observability
912
)
1013

1114
require (

src/semantic-router/pkg/cache/cache_factory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/vllm-project/semantic-router/semantic-router/pkg/observability"
7+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/observability"
88
)
99

1010
// NewCacheBackend creates a cache backend instance from the provided configuration

src/semantic-router/pkg/cache/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"testing"
88

99
candle_binding "github.com/vllm-project/semantic-router/candle-binding"
10-
"github.com/vllm-project/semantic-router/semantic-router/pkg/cache"
10+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/cache"
1111

1212
. "github.com/onsi/ginkgo/v2"
1313
. "github.com/onsi/gomega"

src/semantic-router/pkg/cache/inmemory_cache.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"time"
1212

1313
candle_binding "github.com/vllm-project/semantic-router/candle-binding"
14-
"github.com/vllm-project/semantic-router/semantic-router/pkg/metrics"
15-
"github.com/vllm-project/semantic-router/semantic-router/pkg/observability"
14+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/metrics"
15+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/observability"
1616
)
1717

1818
// InMemoryCache provides a high-performance semantic cache using BERT embeddings in memory

src/semantic-router/pkg/cache/milvus_cache.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"github.com/milvus-io/milvus-sdk-go/v2/client"
1313
"github.com/milvus-io/milvus-sdk-go/v2/entity"
1414
candle_binding "github.com/vllm-project/semantic-router/candle-binding"
15-
"github.com/vllm-project/semantic-router/semantic-router/pkg/metrics"
16-
"github.com/vllm-project/semantic-router/semantic-router/pkg/observability"
15+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/metrics"
16+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/observability"
1717
"gopkg.in/yaml.v3"
1818
)
1919

0 commit comments

Comments
 (0)