Commit 5fe8e98e by Seefs

fix: default codex and claude channel affinity templates to skip retry on failure

parent ed6ff0f2
...@@ -88,7 +88,7 @@ var channelAffinitySetting = ChannelAffinitySetting{ ...@@ -88,7 +88,7 @@ var channelAffinitySetting = ChannelAffinitySetting{
ValueRegex: "", ValueRegex: "",
TTLSeconds: 0, TTLSeconds: 0,
ParamOverrideTemplate: buildPassHeaderTemplate(codexCliPassThroughHeaders), ParamOverrideTemplate: buildPassHeaderTemplate(codexCliPassThroughHeaders),
SkipRetryOnFailure: false, SkipRetryOnFailure: true,
IncludeUsingGroup: true, IncludeUsingGroup: true,
IncludeRuleName: true, IncludeRuleName: true,
UserAgentInclude: nil, UserAgentInclude: nil,
...@@ -103,7 +103,7 @@ var channelAffinitySetting = ChannelAffinitySetting{ ...@@ -103,7 +103,7 @@ var channelAffinitySetting = ChannelAffinitySetting{
ValueRegex: "", ValueRegex: "",
TTLSeconds: 0, TTLSeconds: 0,
ParamOverrideTemplate: buildPassHeaderTemplate(claudeCliPassThroughHeaders), ParamOverrideTemplate: buildPassHeaderTemplate(claudeCliPassThroughHeaders),
SkipRetryOnFailure: false, SkipRetryOnFailure: true,
IncludeUsingGroup: true, IncludeUsingGroup: true,
IncludeRuleName: true, IncludeRuleName: true,
UserAgentInclude: nil, UserAgentInclude: nil,
......
...@@ -68,7 +68,7 @@ export const CHANNEL_AFFINITY_RULE_TEMPLATES = { ...@@ -68,7 +68,7 @@ export const CHANNEL_AFFINITY_RULE_TEMPLATES = {
param_override_template: CODEX_CLI_HEADER_PASSTHROUGH_TEMPLATE, param_override_template: CODEX_CLI_HEADER_PASSTHROUGH_TEMPLATE,
value_regex: '', value_regex: '',
ttl_seconds: 0, ttl_seconds: 0,
skip_retry_on_failure: false, skip_retry_on_failure: true,
include_using_group: true, include_using_group: true,
include_rule_name: true, include_rule_name: true,
}, },
...@@ -80,7 +80,7 @@ export const CHANNEL_AFFINITY_RULE_TEMPLATES = { ...@@ -80,7 +80,7 @@ export const CHANNEL_AFFINITY_RULE_TEMPLATES = {
param_override_template: CLAUDE_CLI_HEADER_PASSTHROUGH_TEMPLATE, param_override_template: CLAUDE_CLI_HEADER_PASSTHROUGH_TEMPLATE,
value_regex: '', value_regex: '',
ttl_seconds: 0, ttl_seconds: 0,
skip_retry_on_failure: false, skip_retry_on_failure: true,
include_using_group: true, include_using_group: true,
include_rule_name: true, include_rule_name: true,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment