We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f9014 commit 9250ee1Copy full SHA for 9250ee1
cmd/suggest.go
@@ -129,9 +129,9 @@ func NewSuggestModel() *suggestModel {
129
if err != nil {
130
log.Fatalf("設定ファイルの読み込みができませんでした")
131
}
132
- nlp := gateway.NewOpenAIGateway(context.Background())
133
switch config.WithGptRequestLocation() {
134
case entity.Local:
+ nlp := gateway.NewOpenAIGateway(context.Background())
135
commitMessageService = gateway.NewLocalMessageService(nlp)
136
case entity.Server:
137
commitMessageService = gateway.NewGrpcServerGateway()
0 commit comments