mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-03 00:33:13 +00:00
add force priority fast policy action
This commit is contained in:
1 parent
b5b0ea3460
commit
e979990bf9
9 files changed
+82
-7
No files matched your search
@@ -1158,7 +1158,11 @@
|
||||
<Select
|
||||
:modelValue="rule.action"
|
||||
@update:modelValue="
|
||||
rule.action = $event as 'pass' | 'filter' | 'block'
|
||||
rule.action = $event as
|
||||
| 'pass'
|
||||
| 'filter'
|
||||
| 'block'
|
||||
| 'force_priority'
|
||||
"
|
||||
:options="openaiFastPolicyActionOptions"
|
||||
/>
|
||||
@@ -1297,6 +1301,7 @@
|
||||
| 'pass'
|
||||
| 'filter'
|
||||
| 'block'
|
||||
| 'force_priority'
|
||||
"
|
||||
:options="openaiFastPolicyActionOptions"
|
||||
/>
|
||||
@@ -10115,6 +10120,10 @@ const openaiFastPolicyTierOptions = computed(() => [
|
||||
const openaiFastPolicyActionOptions = computed(() => [
|
||||
{ value: "pass", label: t("admin.settings.openaiFastPolicy.actionPass") },
|
||||
{ value: "filter", label: t("admin.settings.openaiFastPolicy.actionFilter") },
|
||||
{
|
||||
value: "force_priority",
|
||||
label: t("admin.settings.openaiFastPolicy.actionForcePriority"),
|
||||
},
|
||||
{ value: "block", label: t("admin.settings.openaiFastPolicy.actionBlock") },
|
||||
]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user