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:
cneicy committed 2026-09-26 04:49:11 +08:00
1 parent aa6c3f50f4
commit ceddfd3d6b
828 files changed
+122253 -13702

No files matched your search

@@ -21,6 +21,9 @@ type ChannelAffinityRule struct {
ParamOverrideTemplate map[string]any `json:"param_override_template,omitempty"`
SkipRetryOnFailure bool `json:"skip_retry_on_failure"`
// "inherit" uses the global default; off/prefer/strict override it.
// Empty preserves the legacy SkipRetryOnFailure behavior.
SessionMode string `json:"session_mode,omitempty"`
IncludeUsingGroup bool `json:"include_using_group"`
IncludeModelName bool `json:"include_model_name"`
@@ -28,7 +31,9 @@ type ChannelAffinityRule struct {
}
type ChannelAffinitySetting struct {
Enabled bool `json:"enabled"`
Enabled bool `json:"enabled"`
// Default for rules with SessionMode "inherit". Empty defaults to "prefer".
SessionMode string `json:"session_mode"`
SwitchOnSuccess bool `json:"switch_on_success"`
KeepOnChannelDisabled bool `json:"keep_on_channel_disabled"`
MaxEntries int `json:"max_entries"`