mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-03 19:57:37 +08:00
fix typo: stopParameerRule -> stopParameterRule (#4681)
This commit is contained in:
parent
140dd873f1
commit
444fdb79dc
@ -49,7 +49,7 @@ export type ModelParameterModalProps = {
|
||||
readonly?: boolean
|
||||
isInWorkflow?: boolean
|
||||
}
|
||||
const stopParameerRule: ModelParameterRule = {
|
||||
const stopParameterRule: ModelParameterRule = {
|
||||
default: [],
|
||||
help: {
|
||||
en_US: 'Up to four sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.',
|
||||
@ -233,7 +233,7 @@ const ModelParameterModal: FC<ModelParameterModalProps> = ({
|
||||
!isLoading && !!parameterRules.length && (
|
||||
[
|
||||
...parameterRules,
|
||||
...(isAdvancedMode ? [stopParameerRule] : []),
|
||||
...(isAdvancedMode ? [stopParameterRule] : []),
|
||||
].map(parameter => (
|
||||
<ParameterItem
|
||||
key={`${modelId}-${parameter.name}`}
|
||||
|
Loading…
Reference in New Issue
Block a user