mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 19:45:52 +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
|
readonly?: boolean
|
||||||
isInWorkflow?: boolean
|
isInWorkflow?: boolean
|
||||||
}
|
}
|
||||||
const stopParameerRule: ModelParameterRule = {
|
const stopParameterRule: ModelParameterRule = {
|
||||||
default: [],
|
default: [],
|
||||||
help: {
|
help: {
|
||||||
en_US: 'Up to four sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.',
|
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 && (
|
!isLoading && !!parameterRules.length && (
|
||||||
[
|
[
|
||||||
...parameterRules,
|
...parameterRules,
|
||||||
...(isAdvancedMode ? [stopParameerRule] : []),
|
...(isAdvancedMode ? [stopParameterRule] : []),
|
||||||
].map(parameter => (
|
].map(parameter => (
|
||||||
<ParameterItem
|
<ParameterItem
|
||||||
key={`${modelId}-${parameter.name}`}
|
key={`${modelId}-${parameter.name}`}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user