fix(1.0): invoke llm raise error (#12753)

This commit is contained in:
非法操作 2025-01-22 16:46:35 +08:00 committed by GitHub
parent cc1fe70d34
commit 5f0fa38ec6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,6 +131,7 @@ const ModelParameterModal: FC<ModelParameterModalProps> = ({
model_type,
...(model_type === ModelTypeEnum.textGeneration ? {
mode: targetModelItem?.model_properties.mode as string,
completion_params: {},
} : {}),
})
}