errors.go 400 B

123456789101112
  1. package chatgpt
  2. import "errors"
  3. // OverMaxSequenceTimes 超过最大对话时间
  4. var OverMaxSequenceTimes = errors.New("maximum conversation times exceeded")
  5. // OverMaxTextLength 超过最大文本长度
  6. var OverMaxTextLength = errors.New("maximum text length exceeded")
  7. // OverMaxQuestionLength 超过最大问题长度
  8. var OverMaxQuestionLength = errors.New("maximum question length exceeded")