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

View File

@@ -6,5 +6,4 @@ type Config struct {
IntervalSeconds int `yaml:"intervalSeconds" json:"intervalSeconds" bson:"intervalSeconds" validate:"required"`
MaxLength int `yaml:"maxLength" json:"maxLength" bson:"maxLength" validate:"required"`
Cors bool `yaml:"cors" json:"cors" bson:"cors" validate:""`
TimeoutSeconds int `yaml:"timeoutSeconds" json:"timeoutSeconds" bson:"timeoutSeconds" validate:"required"`
}