Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
ebd053c8
Commit
ebd053c8
authored
Apr 21, 2026
by
IanShaw027
Browse files
docs: clarify openai scheduler flag semantics
parent
64e401e2
Changes
2
Show whitespace changes
Inline
Side-by-side
frontend/src/views/admin/SettingsView.vue
View file @
ebd053c8
...
...
@@ -1877,13 +1877,13 @@
<
div
class
=
"
flex items-center justify-between rounded border border-gray-200 px-4 py-3 dark:border-dark-700
"
>
<
div
>
<
label
class
=
"
text-sm font-medium text-gray-700 dark:text-gray-300
"
>
{{
localText
(
'
OpenAI
高级调度器
'
,
'
OpenAI
advanced
scheduler
'
)
}}
{{
localText
(
'
OpenAI
实验调度策略
'
,
'
OpenAI
experimental
scheduler
policy
'
)
}}
<
/label
>
<
p
class
=
"
mt-0.5 text-xs text-gray-500 dark:text-gray-400
"
>
{{
localText
(
'
切换 OpenAI 侧新增的高级调度开关,供当前分支实验性调度逻辑使用
。
'
,
'
Toggles the new OpenAI advanced scheduler flag for the experimental routing logic on this branch
.
'
'
默认关闭。开启后仅影响本网关在 OpenAI 账号间的实验性调度选择逻辑,不代表上游 OpenAI 官方能力
。
'
,
'
Disabled by default. When enabled, this only changes the gateway
\'
s experimental account-selection policy for OpenAI traffic; it does not indicate an upstream OpenAI capability
.
'
)
}}
<
/p
>
...
...
frontend/src/views/admin/__tests__/SettingsView.spec.ts
View file @
ebd053c8
...
...
@@ -472,4 +472,14 @@ describe('admin SettingsView payment visible method controls', () => {
expect
(
showError
).
toHaveBeenCalled
()
expect
(
String
(
showError
.
mock
.
calls
.
at
(
-
1
)?.[
0
]
??
''
)).
toContain
(
'
支付来源
'
)
})
it
(
'
renders advanced scheduler copy as local experimental gateway policy
'
,
async
()
=>
{
const
wrapper
=
mountView
()
await
flushPromises
()
expect
(
wrapper
.
text
()).
toContain
(
'
OpenAI 实验调度策略
'
)
expect
(
wrapper
.
text
()).
toContain
(
'
默认关闭。开启后仅影响本网关在 OpenAI 账号间的实验性调度选择逻辑
'
)
expect
(
wrapper
.
text
()).
not
.
toContain
(
'
OpenAI 高级调度器
'
)
})
})
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