From 783d98b78e5619bc3f13568112b0370280584db2 Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Thu, 24 Sep 2026 13:15:30 +0800 Subject: [PATCH] feat(web): drop the account catalog editor from the Models page --- .../src/client/ModelsSection.tsx | 35 +++++++++++-------- .../src/client/ProviderEditor.tsx | 7 +--- .../tests/components.client.spec.tsx | 32 ++++------------- 3 files changed, 27 insertions(+), 47 deletions(-) diff --git a/packages/client/ui-settings-models/src/client/ModelsSection.tsx b/packages/client/ui-settings-models/src/client/ModelsSection.tsx index c3eae4041b..c25cc91a26 100644 --- a/packages/client/ui-settings-models/src/client/ModelsSection.tsx +++ b/packages/client/ui-settings-models/src/client/ModelsSection.tsx @@ -463,21 +463,26 @@ function Loaded({ injected, renderSlot }: { injected: ModelsSectionFace; renderS : null} - + {/* The account catalog comes from the account listing; its model overrides live in cordis.patch.yml. */} + {row.entry.provider === 'deepseek-account' + ? null + : ( + + )} {row.removable ? (