From a02e4f27af3b4b4e8dec26bbec5a7273588b4609 Mon Sep 17 00:00:00 2001 From: YuanyuanMa03 <2942204237@qq.com> Date: Fri, 12 Jun 2026 11:50:50 +0800 Subject: [PATCH] feat: add custom model input with suggestions and model listing links --- src/components/ConsoleOAuthFlow.tsx | 135 ++++++++++++++++++++++------ src/utils/chinaLlmProviders.ts | 6 ++ 2 files changed, 112 insertions(+), 29 deletions(-) diff --git a/src/components/ConsoleOAuthFlow.tsx b/src/components/ConsoleOAuthFlow.tsx index 29d8f8c55..f3186648e 100644 --- a/src/components/ConsoleOAuthFlow.tsx +++ b/src/components/ConsoleOAuthFlow.tsx @@ -19,7 +19,7 @@ import { getOauthAccountInfo, validateForceLoginOrg } from '../utils/auth.js'; import { openBrowser } from '../utils/browser.js'; import { logError } from '../utils/log.js'; import { getSettings_DEPRECATED, updateSettingsForSource } from '../utils/settings/settings.js'; -import { CHINA_LLM_PROVIDERS, type ProviderPreset, resolveChinaProviderBaseURL } from '../utils/chinaLlmProviders.js'; +import { CHINA_LLM_PROVIDERS, type ProviderPreset, resolveChinaProviderBaseURL } from 'src/utils/chinaLlmProviders.js'; import { Select } from './CustomSelect/select.js'; import { Spinner } from './Spinner.js'; import TextInput from './TextInput.js'; @@ -1372,26 +1372,38 @@ function OAuthStatusMessage({