refactor(translator): Remove unused logrus imports

This commit is contained in:
hkfires
2025-09-22 08:01:37 +08:00
parent f81898c906
commit d6bb143978
13 changed files with 0 additions and 17 deletions

View File

@@ -4,7 +4,6 @@ import (
"context"
. "github.com/router-for-me/CLIProxyAPI/v6/internal/translator/gemini/openai/responses"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
)

View File

@@ -8,7 +8,6 @@ package geminiCLI
import (
"bytes"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
)

View File

@@ -7,8 +7,6 @@ package geminiCLI
import (
"bytes"
"context"
log "github.com/sirupsen/logrus"
"github.com/tidwall/sjson"
)

View File

@@ -7,7 +7,6 @@ import (
"bytes"
"fmt"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
)

View File

@@ -3,8 +3,6 @@ package gemini
import (
"bytes"
"context"
log "github.com/sirupsen/logrus"
)
// PassthroughGeminiResponseStream forwards Gemini responses unchanged.

View File

@@ -12,7 +12,6 @@ import (
"fmt"
"time"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
)

View File

@@ -4,7 +4,6 @@ import (
"bytes"
"strings"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
)

View File

@@ -12,7 +12,6 @@ import (
"strings"
"github.com/router-for-me/CLIProxyAPI/v6/internal/util"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
)

View File

@@ -9,7 +9,6 @@ import (
"bytes"
. "github.com/router-for-me/CLIProxyAPI/v6/internal/translator/openai/gemini"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
)

View File

@@ -9,7 +9,6 @@ import (
"context"
. "github.com/router-for-me/CLIProxyAPI/v6/internal/translator/openai/gemini"
log "github.com/sirupsen/logrus"
"github.com/tidwall/sjson"
)

View File

@@ -12,7 +12,6 @@ import (
"math/big"
"strings"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
)

View File

@@ -8,8 +8,6 @@ package chat_completions
import (
"bytes"
"context"
log "github.com/sirupsen/logrus"
)
// ConvertOpenAIResponseToOpenAI translates a single chunk of a streaming response from the

View File

@@ -2,8 +2,6 @@ package responses
import (
"bytes"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
)