feat: Add CountToken configuration and update token counting logic

This commit is contained in:
CaIon
2025-11-22 17:15:34 +08:00
parent efb8f1f5b8
commit 0952973887
3 changed files with 48 additions and 35 deletions

View File

@@ -4,6 +4,7 @@ var StreamingTimeout int
var DifyDebug bool
var MaxFileDownloadMB int
var ForceStreamOption bool
var CountToken bool
var GetMediaToken bool
var GetMediaTokenNotStream bool
var UpdateTask bool