fix(1.0): invoke llm raise error (#12753)
This commit is contained in:
parent
cc1fe70d34
commit
5f0fa38ec6
@ -131,6 +131,7 @@ const ModelParameterModal: FC<ModelParameterModalProps> = ({
|
|||||||
model_type,
|
model_type,
|
||||||
...(model_type === ModelTypeEnum.textGeneration ? {
|
...(model_type === ModelTypeEnum.textGeneration ? {
|
||||||
mode: targetModelItem?.model_properties.mode as string,
|
mode: targetModelItem?.model_properties.mode as string,
|
||||||
|
completion_params: {},
|
||||||
} : {}),
|
} : {}),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user