mirror of https://github.com/langgenius/dify.git
fix
This commit is contained in:
parent
99fac21bdb
commit
9503fafc53
|
|
@ -31,11 +31,13 @@ import Loading from '@/app/components/base/loading'
|
||||||
import { useProviderContext } from '@/context/provider-context'
|
import { useProviderContext } from '@/context/provider-context'
|
||||||
import { PROVIDER_WITH_PRESET_TONE, STOP_PARAMETER_RULE, TONE_LIST } from '@/config'
|
import { PROVIDER_WITH_PRESET_TONE, STOP_PARAMETER_RULE, TONE_LIST } from '@/config'
|
||||||
import { ArrowNarrowLeft } from '@/app/components/base/icons/src/vender/line/arrows'
|
import { ArrowNarrowLeft } from '@/app/components/base/icons/src/vender/line/arrows'
|
||||||
|
import type { ModelModeType } from '@/types/app'
|
||||||
|
|
||||||
export type ModelParameterModalProps = {
|
export type ModelParameterModalProps = {
|
||||||
popupClassName?: string
|
popupClassName?: string
|
||||||
portalToFollowElemContentClassName?: string
|
portalToFollowElemContentClassName?: string
|
||||||
isAdvancedMode: boolean
|
isAdvancedMode: boolean
|
||||||
|
mode?: ModelModeType
|
||||||
modelId: string
|
modelId: string
|
||||||
provider: string
|
provider: string
|
||||||
setModel: (model: { modelId: string; provider: string; mode?: string; features?: string[] }) => void
|
setModel: (model: { modelId: string; provider: string; mode?: string; features?: string[] }) => void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue