Skip to content

Commit a097f58

Browse files
authored
refactor: move gemini openai and anthropic to provider folder (#209)
- Update import paths for `openai` and `gemini` packages - Move `anthropic` package to `provider/anthropic` - Move `gemini` package to `provider/gemini` - Move `openai` package to `provider/openai` Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 9f1035b commit a097f58

File tree

14 files changed

+3
-3
lines changed

14 files changed

+3
-3
lines changed

cmd/hepler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"fmt"
66

7-
"github.com/appleboy/CodeGPT/openai"
87
"github.com/appleboy/CodeGPT/prompt"
8+
"github.com/appleboy/CodeGPT/provider/openai"
99
"github.com/appleboy/CodeGPT/util"
1010
"github.com/appleboy/com/file"
1111

cmd/openai.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"errors"
66

77
"github.com/appleboy/CodeGPT/core"
8-
"github.com/appleboy/CodeGPT/gemini"
9-
"github.com/appleboy/CodeGPT/openai"
8+
"github.com/appleboy/CodeGPT/provider/gemini"
9+
"github.com/appleboy/CodeGPT/provider/openai"
1010

1111
"github.com/spf13/viper"
1212
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)