Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: import error in web/app/components/header/account-setting/model-provider-page/declarations.ts (#4944)

crazywoola6b6afb7708ff
diff --git a/web/app/components/tools/provider/detail.tsx b/web/app/components/tools/provider/detail.tsx
index 7eb72d328e5..d687d89215b 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()