Skip to content

Commit be2a606

Browse files
committed
feat: 修改module名称
1 parent ce3c97a commit be2a606

Some content is hidden

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

45 files changed

+82
-82
lines changed

api_integration_test.go

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

13-
"github.com/sashabaranov/go-openai"
14-
"github.com/sashabaranov/go-openai/internal/test/checks"
15-
"github.com/sashabaranov/go-openai/jsonschema"
13+
"github.com/lantiancai/go-openai"
14+
"github.com/lantiancai/go-openai/internal/test/checks"
15+
"github.com/lantiancai/go-openai/jsonschema"
1616
)
1717

1818
func TestAPI(t *testing.T) {

assistant_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package openai_test
33
import (
44
"context"
55

6-
openai "github.com/sashabaranov/go-openai"
7-
"github.com/sashabaranov/go-openai/internal/test/checks"
6+
openai "github.com/lantiancai/go-openai"
7+
"github.com/lantiancai/go-openai/internal/test/checks"
88

99
"encoding/json"
1010
"fmt"

audio.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"os"
1010

11-
utils "github.com/sashabaranov/go-openai/internal"
11+
utils "github.com/lantiancai/go-openai/internal"
1212
)
1313

1414
// Whisper Defines the models provided by OpenAI to use when processing audio with OpenAI.

audio_api_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"strings"
1313
"testing"
1414

15-
"github.com/sashabaranov/go-openai"
16-
"github.com/sashabaranov/go-openai/internal/test"
17-
"github.com/sashabaranov/go-openai/internal/test/checks"
15+
"github.com/lantiancai/go-openai"
16+
"github.com/lantiancai/go-openai/internal/test"
17+
"github.com/lantiancai/go-openai/internal/test/checks"
1818
)
1919

2020
// TestAudio Tests the transcription and translation endpoints of the API using the mocked server.

audio_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"path/filepath"
99
"testing"
1010

11-
"github.com/sashabaranov/go-openai/internal/test"
12-
"github.com/sashabaranov/go-openai/internal/test/checks"
11+
"github.com/lantiancai/go-openai/internal/test"
12+
"github.com/lantiancai/go-openai/internal/test/checks"
1313
)
1414

1515
func TestAudioWithFailingFormBuilder(t *testing.T) {

batch_test.go

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

10-
"github.com/sashabaranov/go-openai"
11-
"github.com/sashabaranov/go-openai/internal/test/checks"
10+
"github.com/lantiancai/go-openai"
11+
"github.com/lantiancai/go-openai/internal/test/checks"
1212
)
1313

1414
func TestUploadBatchFile(t *testing.T) {

chat_stream_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"strconv"
1111
"testing"
1212

13-
"github.com/sashabaranov/go-openai"
14-
"github.com/sashabaranov/go-openai/internal/test/checks"
13+
"github.com/lantiancai/go-openai"
14+
"github.com/lantiancai/go-openai/internal/test/checks"
1515
)
1616

1717
func TestChatCompletionsStreamWrongModel(t *testing.T) {

chat_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"testing"
1313
"time"
1414

15-
"github.com/sashabaranov/go-openai"
16-
"github.com/sashabaranov/go-openai/internal/test/checks"
17-
"github.com/sashabaranov/go-openai/jsonschema"
15+
"github.com/lantiancai/go-openai"
16+
"github.com/lantiancai/go-openai/internal/test/checks"
17+
"github.com/lantiancai/go-openai/jsonschema"
1818
)
1919

2020
const (

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"net/url"
1111
"strings"
1212

13-
utils "github.com/sashabaranov/go-openai/internal"
13+
utils "github.com/lantiancai/go-openai/internal"
1414
)
1515

1616
// Client is OpenAI GPT-3 API client.

client_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"reflect"
1111
"testing"
1212

13-
"github.com/sashabaranov/go-openai/internal/test"
14-
"github.com/sashabaranov/go-openai/internal/test/checks"
13+
"github.com/lantiancai/go-openai/internal/test"
14+
"github.com/lantiancai/go-openai/internal/test/checks"
1515
)
1616

1717
var errTestRequestBuilderFailed = errors.New("test request builder failed")

0 commit comments

Comments
 (0)