Skip to content

Commit 9092163

Browse files
authored
Merge pull request #678 from KooshaPari/chore/cliproxyapi-module-path-main-clean
chore: align module path to kooshapari fork
2 parents 1f8c3e0 + 78cff0d commit 9092163

559 files changed

Lines changed: 1425 additions & 1421 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cliproxyctl/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"strings"
1313
"time"
1414

15-
cliproxycmd "github.com/router-for-me/CLIProxyAPI/v6/pkg/llmproxy/cmd"
16-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
15+
cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd"
16+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
1717
)
1818

1919
const responseSchemaVersion = "cliproxyctl.response.v1"

cliproxyctl/main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"testing"
88
"time"
99

10-
cliproxycmd "github.com/router-for-me/CLIProxyAPI/v6/pkg/llmproxy/cmd"
11-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
10+
cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd"
11+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
1212
)
1313

1414
func TestRunSetupJSONResponseShape(t *testing.T) {

cmd/cliproxyctl/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"syscall"
1616
"time"
1717

18-
cliproxycmd "github.com/router-for-me/CLIProxyAPI/v6/pkg/llmproxy/cmd"
19-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
18+
cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd"
19+
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config"
2020
)
2121

2222
const responseSchemaVersion = "cliproxyctl.response.v1"

cmd/cliproxyctl/main_test.go

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

14-
cliproxycmd "github.com/router-for-me/CLIProxyAPI/v6/pkg/llmproxy/cmd"
15-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
14+
cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd"
15+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
1616
)
1717

1818
func TestRunSetupJSONResponseShape(t *testing.T) {

cmd/codegen/main.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type OpenAICompatibilityModel struct {
2727
Alias string `json:"alias"`
2828
}
2929

30-
const configTemplate = `// Code generated by github.com/router-for-me/CLIProxyAPI/v6/cmd/codegen; DO NOT EDIT.
30+
const configTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT.
3131
package config
3232
3333
import "strings"
@@ -68,11 +68,11 @@ func (cfg *Config) SanitizeGeneratedProviders() {
6868
}
6969
`
7070

71-
const synthTemplate = `// Code generated by github.com/router-for-me/CLIProxyAPI/v6/cmd/codegen; DO NOT EDIT.
71+
const synthTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT.
7272
package synthesizer
7373
7474
import (
75-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
75+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
7676
)
7777
7878
// getDedicatedProviderEntries returns the config entries for a dedicated provider.
@@ -89,7 +89,7 @@ func (s *ConfigSynthesizer) getDedicatedProviderEntries(p config.ProviderSpec, c
8989
}
9090
`
9191

92-
const registryTemplate = `// Code generated by github.com/router-for-me/CLIProxyAPI/v6/cmd/codegen; DO NOT EDIT.
92+
const registryTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT.
9393
package config
9494
9595
// AllProviders defines the registry of all supported LLM providers.
@@ -118,12 +118,12 @@ var AllProviders = []ProviderSpec{
118118
}
119119
`
120120

121-
const diffTemplate = `// Code generated by github.com/router-for-me/CLIProxyAPI/v6/cmd/codegen; DO NOT EDIT.
121+
const diffTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT.
122122
package diff
123123
124124
import (
125125
"fmt"
126-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
126+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
127127
)
128128
129129
// BuildConfigChangeDetailsGeneratedProviders computes changes for generated dedicated providers.

cmd/server/config_validate.go

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

9-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
9+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
1010
"gopkg.in/yaml.v3"
1111
)
1212

cmd/server/main.go

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ import (
1717
"time"
1818

1919
"github.com/joho/godotenv"
20-
configaccess "github.com/router-for-me/CLIProxyAPI/v6/internal/access/config_access"
21-
"github.com/router-for-me/CLIProxyAPI/v6/internal/auth/kiro"
22-
"github.com/router-for-me/CLIProxyAPI/v6/internal/buildinfo"
23-
"github.com/router-for-me/CLIProxyAPI/v6/internal/cmd"
24-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
25-
"github.com/router-for-me/CLIProxyAPI/v6/internal/logging"
26-
"github.com/router-for-me/CLIProxyAPI/v6/internal/managementasset"
27-
"github.com/router-for-me/CLIProxyAPI/v6/internal/misc"
28-
"github.com/router-for-me/CLIProxyAPI/v6/internal/store"
29-
_ "github.com/router-for-me/CLIProxyAPI/v6/internal/translator"
30-
"github.com/router-for-me/CLIProxyAPI/v6/internal/tui"
31-
"github.com/router-for-me/CLIProxyAPI/v6/internal/usage"
32-
"github.com/router-for-me/CLIProxyAPI/v6/internal/util"
33-
sdkAuth "github.com/router-for-me/CLIProxyAPI/v6/sdk/auth"
34-
coreauth "github.com/router-for-me/CLIProxyAPI/v6/sdk/cliproxy/auth"
20+
configaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/access/config_access"
21+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/auth/kiro"
22+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/buildinfo"
23+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/cmd"
24+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
25+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/logging"
26+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/managementasset"
27+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/misc"
28+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/store"
29+
_ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator"
30+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/tui"
31+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/usage"
32+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/util"
33+
sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth"
34+
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
3535
log "github.com/sirupsen/logrus"
3636
)
3737

examples/custom-provider/main.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ import (
2424
"time"
2525

2626
"github.com/gin-gonic/gin"
27-
"github.com/router-for-me/CLIProxyAPI/v6/sdk/api"
28-
sdkAuth "github.com/router-for-me/CLIProxyAPI/v6/sdk/auth"
29-
"github.com/router-for-me/CLIProxyAPI/v6/sdk/cliproxy"
30-
coreauth "github.com/router-for-me/CLIProxyAPI/v6/sdk/cliproxy/auth"
31-
clipexec "github.com/router-for-me/CLIProxyAPI/v6/sdk/cliproxy/executor"
32-
"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
33-
"github.com/router-for-me/CLIProxyAPI/v6/internal/logging"
34-
sdktr "github.com/router-for-me/CLIProxyAPI/v6/sdk/translator"
27+
"github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api"
28+
sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth"
29+
"github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy"
30+
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
31+
clipexec "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor"
32+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
33+
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/logging"
34+
sdktr "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator"
3535
)
3636

3737
const (

examples/http-request/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
"strings"
1717
"time"
1818

19-
coreauth "github.com/router-for-me/CLIProxyAPI/v6/sdk/cliproxy/auth"
20-
clipexec "github.com/router-for-me/CLIProxyAPI/v6/sdk/cliproxy/executor"
19+
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
20+
clipexec "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor"
2121
log "github.com/sirupsen/logrus"
2222
)
2323

examples/translator/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/router-for-me/CLIProxyAPI/v6/sdk/translator"
8-
_ "github.com/router-for-me/CLIProxyAPI/v6/sdk/translator/builtin"
7+
"github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator"
8+
_ "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator/builtin"
99
)
1010

1111
func main() {

0 commit comments

Comments
 (0)