fix: playground stop null

main
jialin 2 years ago
parent 2587f10085
commit 64f60b48cf

@ -105,6 +105,7 @@ const MessageList: React.FC<MessageProps> = (props) => {
};
const submitMessage = async () => {
if (!parameters.model) return;
try {
setLoading(true);
setMessageId();

@ -265,8 +265,12 @@ const ParamsSettings: React.FC<ParamsSettingsProps> = ({
<Form.Item<ParamsSettingsFormProps>
name="stop"
rules={[{ required: false }]}
normalize={(value) => {
return value || null;
}}
>
<SealInput.Input
allowClear
label="Stop Sequence"
description={intl.formatMessage({
id: 'playground.params.stop.tips'

Loading…
Cancel
Save