feat: support stream_options

This commit is contained in:
CalciumIon committed 2024-07-08 01:27:57 +08:00
1 parent 2e45163f93
commit 22bc0bf773
11 files changed
+97 -55

No files matched your search

+3
View File
@@ -6,3 +6,6 @@ import (
var StreamingTimeout = common.GetEnvOrDefault("STREAMING_TIMEOUT", 30)
var DifyDebug = common.GetEnvOrDefaultBool("DIFY_DEBUG", true)
// ForceStreamOption 覆盖请求参数,强制返回usage信息
var ForceStreamOption = common.GetEnvOrDefaultBool("FORCE_STREAM_OPTION", true)