diff --git a/CHANGELOG.md b/CHANGELOG.md index 69c5f92..6016cc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,12 @@ Write each change in both `### English` and `### 中文` under `## Unreleased`. ### English +- Allow named API keys to restrict routing to specific provider regions while keeping legacy family grants compatible, and show the same region-aware scope in the model catalog + ### 中文 +- 支持将命名 API Key 的路由限制到具体供应商区域,同时兼容旧的供应商族授权,并让模型目录使用相同的区域权限过滤 + ## 0.5.0 - 2026-09-15 ### English diff --git a/frontend/src/components/AddAccountModal.tsx b/frontend/src/components/AddAccountModal.tsx index 1ec80fd..846b08c 100644 --- a/frontend/src/components/AddAccountModal.tsx +++ b/frontend/src/components/AddAccountModal.tsx @@ -5,6 +5,7 @@ import { BrandMark } from '@/components/BrandMark' import { ProviderMark } from '@/components/ProviderMark' import { CompactSwitch } from '@/components/ui/CompactSwitch' import { FilterToggle } from '@/components/ui/FilterToggle' +import { FormRow } from '@/components/ui/FormRow' import { OptionTiles } from '@/components/ui/OptionTiles' import { useI18n } from '@/hooks/useI18n' import { @@ -514,9 +515,8 @@ export function AddAccountModal({ isOpen, onClose, onAdded }: Props) { {typesReady && hint ?
{hint}
: null} -{isDone ?
{hint}
: null} +{t('keysLead')}