Skip to content

Commit ced6a8e

Browse files
authored
docs: add github action badge for docs index (#103)
* docs: add github action badge for docs index Signed-off-by: yuluo-yx <[email protected]> * feat: update semnatic-router to src in go files Signed-off-by: yuluo-yx <[email protected]> --------- Signed-off-by: yuluo-yx <[email protected]>
1 parent fe0b5b5 commit ced6a8e

30 files changed

+69
-68
lines changed

src/semantic-router/cmd/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"os"
99

1010
"github.com/prometheus/client_golang/prometheus/promhttp"
11-
"github.com/vllm-project/semantic-router/semantic-router/pkg/api"
12-
"github.com/vllm-project/semantic-router/semantic-router/pkg/extproc"
13-
"github.com/vllm-project/semantic-router/semantic-router/pkg/observability"
11+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/api"
12+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/extproc"
13+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/observability"
1414
)
1515

1616
func main() {

src/semantic-router/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
module github.com/vllm-project/semantic-router/semantic-router
1+
module github.com/vllm-project/semantic-router/src/semantic-router
22

33
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/semantic-router/pkg/config => ./pkg/config
8-
github.com/vllm-project/semantic-router/semantic-router/pkg/extproc => ./pkg/extproc
7+
github.com/vllm-project/semantic-router/src/semantic-router/pkg/config => ./pkg/config
8+
github.com/vllm-project/semantic-router/src/semantic-router/pkg/extproc => ./pkg/extproc
99
)
1010

1111
require (

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"sync"
1111
"time"
1212

13-
"github.com/vllm-project/semantic-router/semantic-router/pkg/config"
14-
"github.com/vllm-project/semantic-router/semantic-router/pkg/metrics"
15-
"github.com/vllm-project/semantic-router/semantic-router/pkg/services"
13+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
14+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/metrics"
15+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/services"
1616
)
1717

1818
// ClassificationAPIServer holds the server state and dependencies

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"net/http/httptest"
1010
"testing"
1111

12-
"github.com/vllm-project/semantic-router/semantic-router/pkg/config"
13-
"github.com/vllm-project/semantic-router/semantic-router/pkg/services"
12+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
13+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/services"
1414
)
1515

1616
func TestHandleBatchClassification(t *testing.T) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
. "github.com/onsi/gomega"
1212

1313
candle "github.com/vllm-project/semantic-router/candle-binding"
14-
"github.com/vllm-project/semantic-router/semantic-router/pkg/cache"
14+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/cache"
1515
)
1616

1717
func TestCache(t *testing.T) {

src/semantic-router/pkg/config/config_test.go

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

99
"gopkg.in/yaml.v3"
1010

11-
"github.com/vllm-project/semantic-router/semantic-router/pkg/config"
11+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
1212

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

src/semantic-router/pkg/config/parse_configfile_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
. "github.com/onsi/ginkgo/v2"
99
. "github.com/onsi/gomega"
1010

11-
"github.com/vllm-project/semantic-router/semantic-router/pkg/config"
11+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
1212
)
1313

1414
var _ = Describe("ParseConfigFile and ReplaceGlobalConfig", func() {

src/semantic-router/pkg/extproc/caching_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99

1010
ext_proc "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"
1111

12-
"github.com/vllm-project/semantic-router/semantic-router/pkg/cache"
13-
"github.com/vllm-project/semantic-router/semantic-router/pkg/config"
14-
"github.com/vllm-project/semantic-router/semantic-router/pkg/extproc"
12+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/cache"
13+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
14+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/extproc"
1515
)
1616

1717
var _ = Describe("Caching Functionality", func() {

src/semantic-router/pkg/extproc/edge_cases_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111

1212
ext_proc "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"
1313

14-
"github.com/vllm-project/semantic-router/semantic-router/pkg/cache"
15-
"github.com/vllm-project/semantic-router/semantic-router/pkg/config"
16-
"github.com/vllm-project/semantic-router/semantic-router/pkg/extproc"
14+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/cache"
15+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
16+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/extproc"
1717
)
1818

1919
var _ = Describe("Edge Cases and Error Conditions", func() {

src/semantic-router/pkg/extproc/endpoint_selection_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
1010
ext_proc "github.com/envoyproxy/go-control-plane/envoy/service/ext_proc/v3"
11-
"github.com/vllm-project/semantic-router/semantic-router/pkg/config"
12-
"github.com/vllm-project/semantic-router/semantic-router/pkg/extproc"
11+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/config"
12+
"github.com/vllm-project/semantic-router/src/semantic-router/pkg/extproc"
1313
)
1414

1515
var _ = Describe("Endpoint Selection", func() {

0 commit comments

Comments
 (0)