feat: 保留功能
This commit is contained in:
1 parent
580f2894ac
commit
be2c13fbd6
3 files changed
+20
No files matched your search
@@ -9,6 +9,9 @@ var CheckSensitiveOnCompletionEnabled = true
|
||||
// StopOnSensitiveEnabled 如果检测到敏感词,是否立刻停止生成,否则替换敏感词
|
||||
var StopOnSensitiveEnabled = true
|
||||
|
||||
// StreamCacheQueueLength 流模式缓存队列长度,0表示无缓存
|
||||
var StreamCacheQueueLength = 0
|
||||
|
||||
// SensitiveWords 敏感词
|
||||
// var SensitiveWords []string
|
||||
var SensitiveWords = []string{
|
||||
|
||||
Reference in new issue
Block a user