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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions cliproxyctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"strings"
"time"

cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
cliproxycmd "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cmd"
"github.com/kooshapari/CLIProxyAPI/v7/internal/config"
)

const responseSchemaVersion = "cliproxyctl.response.v1"
Expand Down
4 changes: 2 additions & 2 deletions cliproxyctl/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"
"time"

cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
cliproxycmd "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cmd"
"github.com/kooshapari/CLIProxyAPI/v7/internal/config"
)

func TestRunSetupJSONResponseShape(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/cliproxyctl/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"testing"
"time"

cliproxycmd "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/cmd"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util"
cliproxycmd "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/cmd"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util"
)

// repoRoot returns the absolute path to the repository root.
Expand Down
12 changes: 6 additions & 6 deletions cmd/codegen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type OpenAICompatibilityModel struct {
Alias string `json:"alias"`
}

const configTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT.
const configTemplate = `// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT.
package config

import "strings"
Expand Down Expand Up @@ -68,11 +68,11 @@ func (cfg *Config) SanitizeGeneratedProviders() {
}
`

const synthTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT.
const synthTemplate = `// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT.
package synthesizer

import (
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
"github.com/kooshapari/CLIProxyAPI/v7/internal/config"
)

// getDedicatedProviderEntries returns the config entries for a dedicated provider.
Expand All @@ -89,7 +89,7 @@ func (s *ConfigSynthesizer) getDedicatedProviderEntries(p config.ProviderSpec, c
}
`

const registryTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT.
const registryTemplate = `// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT.
package config

// AllProviders defines the registry of all supported LLM providers.
Expand Down Expand Up @@ -118,12 +118,12 @@ var AllProviders = []ProviderSpec{
}
`

const diffTemplate = `// Code generated by github.com/kooshapari/cliproxyapi-plusplus/v6/cmd/codegen; DO NOT EDIT.
const diffTemplate = `// Code generated by github.com/kooshapari/CLIProxyAPI/v7/cmd/codegen; DO NOT EDIT.
package diff

import (
"fmt"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
"github.com/kooshapari/CLIProxyAPI/v7/internal/config"
)

// BuildConfigChangeDetailsGeneratedProviders computes changes for generated dedicated providers.
Expand Down
2 changes: 1 addition & 1 deletion cmd/server/config_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"os"

"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
"github.com/kooshapari/CLIProxyAPI/v7/internal/config"
"gopkg.in/yaml.v3"
)

Expand Down
30 changes: 15 additions & 15 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ import (
"time"

"github.com/joho/godotenv"
configaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/access/config_access"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/auth/kiro"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/buildinfo"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/cmd"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/config"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/logging"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/managementasset"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/misc"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/store"
_ "github.com/kooshapari/cliproxyapi-plusplus/v6/internal/translator"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/tui"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/usage"
"github.com/kooshapari/cliproxyapi-plusplus/v6/internal/util"
sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
configaccess "github.com/kooshapari/CLIProxyAPI/v7/internal/access/config_access"
"github.com/kooshapari/CLIProxyAPI/v7/internal/auth/kiro"
"github.com/kooshapari/CLIProxyAPI/v7/internal/buildinfo"
"github.com/kooshapari/CLIProxyAPI/v7/internal/cmd"
"github.com/kooshapari/CLIProxyAPI/v7/internal/config"
"github.com/kooshapari/CLIProxyAPI/v7/internal/logging"
"github.com/kooshapari/CLIProxyAPI/v7/internal/managementasset"
"github.com/kooshapari/CLIProxyAPI/v7/internal/misc"
"github.com/kooshapari/CLIProxyAPI/v7/internal/store"
_ "github.com/kooshapari/CLIProxyAPI/v7/internal/translator"
"github.com/kooshapari/CLIProxyAPI/v7/internal/tui"
"github.com/kooshapari/CLIProxyAPI/v7/internal/usage"
"github.com/kooshapari/CLIProxyAPI/v7/internal/util"
sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/server/main_kiro_flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"testing"

"github.com/router-for-me/CLIProxyAPI/v6/internal/config"
"github.com/kooshapari/CLIProxyAPI/v7/internal/config"
)

func TestValidateKiroIncognitoFlags(t *testing.T) {
Expand Down
16 changes: 8 additions & 8 deletions examples/custom-provider/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ import (
"time"

"github.com/gin-gonic/gin"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/logging"
"github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/api"
sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth"
"github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
clipexec "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor"
sdktr "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/logging"
"github.com/kooshapari/CLIProxyAPI/v7/sdk/api"
sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth"
"github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
clipexec "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor"
sdktr "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions examples/http-request/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"strings"
"time"

coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
clipexec "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/executor"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
clipexec "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/executor"
log "github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions examples/translator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator"
_ "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/translator/builtin"
"github.com/kooshapari/CLIProxyAPI/v7/sdk/translator"
_ "github.com/kooshapari/CLIProxyAPI/v7/sdk/translator/builtin"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/kooshapari/cliproxyapi-plusplus/v6
module github.com/kooshapari/CLIProxyAPI/v7

go 1.26.0

Expand Down
4 changes: 2 additions & 2 deletions pkg/llmproxy/access/config_access/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"strings"

sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access"
sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config"
sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access"
sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config"
)

// Register ensures the config-access provider is available to the access manager.
Expand Down
4 changes: 2 additions & 2 deletions pkg/llmproxy/access/config_access/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http/httptest"
"testing"

sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access"
sdkconfig "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/config"
sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access"
sdkconfig "github.com/kooshapari/CLIProxyAPI/v7/sdk/config"
)

func findProvider() sdkaccess.Provider {
Expand Down
6 changes: 3 additions & 3 deletions pkg/llmproxy/access/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"sort"
"strings"

configaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/access/config_access"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config"
sdkaccess "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/access"
configaccess "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/access/config_access"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config"
sdkaccess "github.com/kooshapari/CLIProxyAPI/v7/sdk/access"
log "github.com/sirupsen/logrus"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/llmproxy/api/handlers/management/api_tools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"time"

"github.com/gin-gonic/gin"
kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/config"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/config"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
)

func TestAPICall_RejectsUnsafeHost(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions pkg/llmproxy/api/handlers/management/auth_anthropic.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"time"

"github.com/gin-gonic/gin"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/claude"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/claude"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
log "github.com/sirupsen/logrus"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/llmproxy/api/handlers/management/auth_antigravity.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"time"

"github.com/gin-gonic/gin"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/antigravity"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/antigravity"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
log "github.com/sirupsen/logrus"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/llmproxy/api/handlers/management/auth_codex.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"time"

"github.com/gin-gonic/gin"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/llmproxy/api/handlers/management/auth_file_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/gin-gonic/gin"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc"
)

func (h *Handler) DownloadAuthFile(c *gin.Context) {
Expand Down
6 changes: 3 additions & 3 deletions pkg/llmproxy/api/handlers/management/auth_file_mgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strings"

"github.com/gin-gonic/gin"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/llmproxy/api/handlers/management/auth_file_patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"time"

"github.com/gin-gonic/gin"
sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
)

func (h *Handler) authIDForPath(path string) string {
Expand Down
34 changes: 17 additions & 17 deletions pkg/llmproxy/api/handlers/management/auth_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ import (
"time"

"github.com/gin-gonic/gin"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/antigravity"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/claude"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/codex"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/copilot"
geminiAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/gemini"
iflowauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/iflow"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kilo"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kimi"
kiroauth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/kiro"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/qwen"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/misc"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/registry"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util"
sdkAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/auth"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/antigravity"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/claude"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/codex"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/copilot"
geminiAuth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/gemini"
iflowauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/iflow"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kilo"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kimi"
kiroauth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/kiro"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/qwen"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/misc"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/registry"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util"
sdkAuth "github.com/kooshapari/CLIProxyAPI/v7/sdk/auth"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"golang.org/x/oauth2"
Expand Down Expand Up @@ -2041,7 +2041,7 @@ func (h *Handler) RequestGitHubToken(c *gin.Context) {
state := fmt.Sprintf("gh-%d", time.Now().UnixNano())

// Initialize Copilot auth service
// We need to import "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/copilot" first if not present
// We need to import "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/copilot" first if not present
// Assuming copilot package is imported as "copilot"
deviceClient := copilot.NewDeviceFlowClient(h.cfg)

Expand Down
8 changes: 4 additions & 4 deletions pkg/llmproxy/api/handlers/management/auth_gemini.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"time"

"github.com/gin-gonic/gin"
geminiAuth "github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/gemini"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/interfaces"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/util"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
geminiAuth "github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/gemini"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/interfaces"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/util"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"golang.org/x/oauth2"
Expand Down
4 changes: 2 additions & 2 deletions pkg/llmproxy/api/handlers/management/auth_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"time"

"github.com/gin-gonic/gin"
"github.com/kooshapari/cliproxyapi-plusplus/v6/pkg/llmproxy/auth/copilot"
coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
"github.com/kooshapari/CLIProxyAPI/v7/pkg/llmproxy/auth/copilot"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/llmproxy/api/handlers/management/auth_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/gin-gonic/gin"
log "github.com/sirupsen/logrus"

coreauth "github.com/kooshapari/cliproxyapi-plusplus/v6/sdk/cliproxy/auth"
coreauth "github.com/kooshapari/CLIProxyAPI/v7/sdk/cliproxy/auth"
)

var lastRefreshKeys = []string{"last_refresh", "lastRefresh", "last_refreshed_at", "lastRefreshedAt"}
Expand Down
Loading