Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
216b94da
authored
Mar 23, 2026
by
Calcium-Ion
Committed by
GitHub
Mar 23, 2026
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3335 from seefs001/chore/adjuct-default-settings
adjuct default settings
parents
49eb533a
e9f8f627
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
setting/operation_setting/channel_affinity_setting.go
+2
-2
setting/performance_setting/config.go
+1
-1
web/src/constants/channel-affinity-template.constants.js
+2
-2
web/src/pages/Setting/Performance/SettingsPerformance.jsx
+1
-1
No files found.
setting/operation_setting/channel_affinity_setting.go
View file @
216b94da
...
@@ -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
:
fals
e
,
SkipRetryOnFailure
:
tru
e
,
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
:
fals
e
,
SkipRetryOnFailure
:
tru
e
,
IncludeUsingGroup
:
true
,
IncludeUsingGroup
:
true
,
IncludeRuleName
:
true
,
IncludeRuleName
:
true
,
UserAgentInclude
:
nil
,
UserAgentInclude
:
nil
,
...
...
setting/performance_setting/config.go
View file @
216b94da
...
@@ -36,7 +36,7 @@ var performanceSetting = PerformanceSetting{
...
@@ -36,7 +36,7 @@ var performanceSetting = PerformanceSetting{
MonitorEnabled
:
true
,
MonitorEnabled
:
true
,
MonitorCPUThreshold
:
90
,
MonitorCPUThreshold
:
90
,
MonitorMemoryThreshold
:
90
,
MonitorMemoryThreshold
:
90
,
MonitorDiskThreshold
:
9
0
,
MonitorDiskThreshold
:
9
5
,
}
}
func
init
()
{
func
init
()
{
...
...
web/src/constants/channel-affinity-template.constants.js
View file @
216b94da
...
@@ -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
:
fals
e
,
skip_retry_on_failure
:
tru
e
,
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
:
fals
e
,
skip_retry_on_failure
:
tru
e
,
include_using_group
:
true
,
include_using_group
:
true
,
include_rule_name
:
true
,
include_rule_name
:
true
,
},
},
...
...
web/src/pages/Setting/Performance/SettingsPerformance.jsx
View file @
216b94da
...
@@ -71,7 +71,7 @@ export default function SettingsPerformance(props) {
...
@@ -71,7 +71,7 @@ export default function SettingsPerformance(props) {
'performance_setting.monitor_enabled'
:
false
,
'performance_setting.monitor_enabled'
:
false
,
'performance_setting.monitor_cpu_threshold'
:
90
,
'performance_setting.monitor_cpu_threshold'
:
90
,
'performance_setting.monitor_memory_threshold'
:
90
,
'performance_setting.monitor_memory_threshold'
:
90
,
'performance_setting.monitor_disk_threshold'
:
9
0
,
'performance_setting.monitor_disk_threshold'
:
9
5
,
});
});
const
refForm
=
useRef
();
const
refForm
=
useRef
();
const
[
inputsRow
,
setInputsRow
]
=
useState
(
inputs
);
const
[
inputsRow
,
setInputsRow
]
=
useState
(
inputs
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment