feat: sync deployed v1.0.0-rc.38-custom.42
Sync production source including routing, billing, Astra detection and public uptime. Update custom build instructions and license packaging.
This commit is contained in:
1 parent
aa6c3f50f4
commit
ceddfd3d6b
828 files changed
+122253
-13702
No files matched your search
+17
-12
@@ -11,16 +11,20 @@ const (
|
||||
ContextKeyRequestStartTime ContextKey = "request_start_time"
|
||||
|
||||
/* token related keys */
|
||||
ContextKeyTokenUnlimited ContextKey = "token_unlimited_quota"
|
||||
ContextKeyTokenKey ContextKey = "token_key"
|
||||
ContextKeyTokenId ContextKey = "token_id"
|
||||
ContextKeyTokenGroup ContextKey = "token_group"
|
||||
ContextKeyOriginTasks ContextKey = "origin_tasks"
|
||||
ContextKeyChannelConstraints ContextKey = "channel_constraints"
|
||||
ContextKeyTokenModelLimitEnabled ContextKey = "token_model_limit_enabled"
|
||||
ContextKeyTokenModelLimit ContextKey = "token_model_limit"
|
||||
ContextKeyTokenCrossGroupRetry ContextKey = "token_cross_group_retry"
|
||||
ContextKeyTokenAutoGroups ContextKey = "token_auto_groups"
|
||||
ContextKeyTokenUnlimited ContextKey = "token_unlimited_quota"
|
||||
ContextKeyTokenKey ContextKey = "token_key"
|
||||
ContextKeyTokenId ContextKey = "token_id"
|
||||
ContextKeyTokenGroup ContextKey = "token_group"
|
||||
ContextKeyOriginTasks ContextKey = "origin_tasks"
|
||||
ContextKeyChannelConstraints ContextKey = "channel_constraints"
|
||||
ContextKeyTokenModelLimitEnabled ContextKey = "token_model_limit_enabled"
|
||||
ContextKeyTokenModelLimit ContextKey = "token_model_limit"
|
||||
ContextKeyTokenCrossGroupRetry ContextKey = "token_cross_group_retry"
|
||||
ContextKeyTokenAstraDetectionDisabled ContextKey = "token_astra_detection_disabled"
|
||||
ContextKeyTokenAstraAutoSwitch ContextKey = "token_astra_auto_switch"
|
||||
ContextKeyTokenAutoGroups ContextKey = "token_auto_groups"
|
||||
ContextKeyTokenGroupPool ContextKey = "token_group_pool"
|
||||
ContextKeyTokenFailedGroups ContextKey = "token_failed_groups"
|
||||
|
||||
/* channel related keys */
|
||||
ContextKeyChannelId ContextKey = "channel_id"
|
||||
@@ -66,8 +70,9 @@ const (
|
||||
ContextKeyAdminRejectReason ContextKey = "admin_reject_reason"
|
||||
|
||||
// ContextKeyLanguage stores the user's language preference for i18n
|
||||
ContextKeyLanguage ContextKey = "language"
|
||||
ContextKeyIsStream ContextKey = "is_stream"
|
||||
ContextKeyLanguage ContextKey = "language"
|
||||
ContextKeyIsStream ContextKey = "is_stream"
|
||||
ContextKeyResponseStreamStatus ContextKey = "response_stream_status"
|
||||
|
||||
// ContextKeyAuditLogged marks that the current request has already recorded
|
||||
// a manage/operation audit log inside the handler. When set, the admin-audit
|
||||
|
||||
Reference in new issue
Block a user