From 6b6afb7708ffd511f01fb474536e91561ed0c01c Mon Sep 17 00:00:00 2001 From: crazywoola <100913391+crazywoola@users.noreply.github.com> Date: Wed, 5 Jun 2024 14:01:12 +0800 Subject: [PATCH] fix: import error in web/app/components/header/account-setting/model-provider-page/declarations.ts (#4944) --- web/app/components/tools/provider/detail.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/components/tools/provider/detail.tsx b/web/app/components/tools/provider/detail.tsx index 7eb72d328e..d687d89215 100644 --- a/web/app/components/tools/provider/detail.tsx +++ b/web/app/components/tools/provider/detail.tsx @@ -31,7 +31,7 @@ import { } from '@/service/tools' import { useModalContext } from '@/context/modal-context' import { useProviderContext } from '@/context/provider-context' -import { ConfigurateMethodEnum } from '@/app/components/header/account-setting/model-provider-page/declarations' +import { ConfigurationMethodEnum } from '@/app/components/header/account-setting/model-provider-page/declarations' import Loading from '@/app/components/base/loading' type Props = { @@ -65,8 +65,8 @@ const ProviderDetail = ({ setShowModelModal({ payload: { currentProvider: provider, - currentConfigurateMethod: ConfigurateMethodEnum.predefinedModel, - currentCustomConfigrationModelFixedFields: undefined, + currentConfigurationMethod: ConfigurationMethodEnum.predefinedModel, + currentCustomConfigurationModelFixedFields: undefined, }, onSaveCallback: () => { onRefreshData()