stream.Recv()会导致cpu 100的问题,升级gpt-3依赖库

This commit is contained in:
cookeem
2023-02-13 11:05:52 +08:00
parent f09b7c8d95
commit d7dfa7b216
4 changed files with 42 additions and 63 deletions

2
go.mod
View File

@@ -7,7 +7,7 @@ require (
github.com/gin-gonic/gin v1.8.2
github.com/google/uuid v1.3.0
github.com/gorilla/websocket v1.5.0
github.com/sashabaranov/go-gpt3 v1.0.0
github.com/sashabaranov/go-gpt3 v1.0.1
github.com/sirupsen/logrus v1.9.0
gopkg.in/yaml.v3 v3.0.1
)