From 3345fa2b8816156380a440282b855fc63f0acedc Mon Sep 17 00:00:00 2001 From: Bryan Nie Date: Sat, 4 Apr 2026 21:03:16 +0800 Subject: [PATCH 1/2] feat(authFiles): support customizing headers for auth files This feature adds a new UI to edit custom headers for auth files, following the backend enhancement (router-for-me/CLIProxyAPI#2457). --- .../AuthFilesPrefixProxyEditorModal.tsx | 12 ++++++++++ .../hooks/useAuthFilesPrefixProxyEditor.ts | 22 ++++++++++++++++++- src/i18n/locales/en.json | 2 ++ src/i18n/locales/zh-CN.json | 2 ++ 4 files changed, 37 insertions(+), 1 deletion(-) diff --git a/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx b/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx index 4a1c8b7..1cdf7fc 100644 --- a/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx +++ b/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx @@ -138,6 +138,18 @@ export function AuthFilesPrefixProxyEditorModal(props: AuthFilesPrefixProxyEdito />
{t('auth_files.excluded_models_hint')}
+
+ +