mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-29 23:10:35 +00:00
27 lines
780 B
Go
27 lines
780 B
Go
package constant
|
|
|
|
var StreamingTimeout int
|
|
var DifyDebug bool
|
|
var MaxFileDownloadMB int
|
|
var StreamScannerMaxBufferMB int
|
|
var ForceStreamOption bool
|
|
var CountToken bool
|
|
var GetMediaToken bool
|
|
var GetMediaTokenNotStream bool
|
|
var UpdateTask bool
|
|
var MaxRequestBodyMB int
|
|
var AzureDefaultAPIVersion string
|
|
var GeminiVisionMaxImageNum int
|
|
var NotifyLimitCount int
|
|
var NotificationLimitDurationMinute int
|
|
var GenerateDefaultToken bool
|
|
var ErrorLogEnabled bool
|
|
var TaskQueryLimit int
|
|
|
|
// temporary variable for sora patch, will be removed in future
|
|
var TaskPricePatches []string
|
|
|
|
// TrustedRedirectDomains is a list of trusted domains for redirect URL validation.
|
|
// Domains support subdomain matching (e.g., "example.com" matches "sub.example.com").
|
|
var TrustedRedirectDomains []string
|