Browse Source

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

tags/0.6.11
crazywoola 1 year ago
parent
commit
6b6afb7708
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      web/app/components/tools/provider/detail.tsx

+ 3
- 3
web/app/components/tools/provider/detail.tsx View File

@@ -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()

Loading…
Cancel
Save