@@ -1362,9 +1362,9 @@
@update:quotaNotifyTotalThresholdType="quotaNotifyState.total.thresholdType = $event"
/>
@@ -2351,8 +2351,8 @@ const syncFormFromAccount = (newAccount: Account | null) => {
}
}
- // Load quota limit for apikey/bedrock accounts (bedrock quota is also loaded in its own branch above)
- if (newAccount.type === 'apikey' || newAccount.type === 'bedrock') {
+ // Load quota limit for apikey/bedrock/cli accounts
+ if (newAccount.type === 'apikey' || newAccount.type === 'bedrock' || newAccount.type === 'cli') {
const quotaVal = extra?.quota_limit as number | undefined
editQuotaLimit.value = (quotaVal && quotaVal > 0) ? quotaVal : null
const dailyVal = extra?.quota_daily_limit as number | undefined
@@ -3440,8 +3440,8 @@ const handleSubmit = async () => {
updatePayload.extra = newExtra
}
- // For apikey/bedrock accounts, handle quota_limit in extra
- if (props.account.type === 'apikey' || props.account.type === 'bedrock') {
+ // For apikey/bedrock/cli accounts, handle quota_limit in extra
+ if (props.account.type === 'apikey' || props.account.type === 'bedrock' || props.account.type === 'cli') {
const currentExtra = (updatePayload.extra as Record) ||
(props.account.extra as Record) || {}
const newExtra: Record = { ...currentExtra }
diff --git a/frontend/src/views/admin/GroupsView.vue b/frontend/src/views/admin/GroupsView.vue
index 6b35663b..bed3aeb6 100644
--- a/frontend/src/views/admin/GroupsView.vue
+++ b/frontend/src/views/admin/GroupsView.vue
@@ -2783,6 +2783,7 @@ const platformOptions = computed(() => [
{ value: "openai", label: "OpenAI" },
{ value: "gemini", label: "Gemini" },
{ value: "antigravity", label: "Antigravity" },
+ { value: "kimi", label: "Kimi" },
]);
const platformFilterOptions = computed(() => [
@@ -2791,6 +2792,7 @@ const platformFilterOptions = computed(() => [
{ value: "openai", label: "OpenAI" },
{ value: "gemini", label: "Gemini" },
{ value: "antigravity", label: "Antigravity" },
+ { value: "kimi", label: "Kimi" },
]);
const editStatusOptions = computed(() => [