feat: remove loading from document table and fixed the issue where gif images could not be uploaded on the configuration page (#122)
* feat: fixed the issue where gif images could not be uploaded on the configuration page * feat: remove loading from document table
This commit is contained in:
@@ -18,18 +18,12 @@ const ModelSetting = ({ show, form }: ISegmentedContentProps) => {
|
||||
value: x,
|
||||
}));
|
||||
|
||||
const parameters: ModelVariableType = Form.useWatch('parameters', form);
|
||||
|
||||
const modelOptions = useSelectLlmOptions();
|
||||
|
||||
const handleParametersChange = (value: ModelVariableType) => {
|
||||
console.info(value);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
const variable = settledModelVariableMap[parameters];
|
||||
const variable = settledModelVariableMap[value];
|
||||
form.setFieldsValue({ llm_setting: variable });
|
||||
}, [parameters, form]);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
const values = Object.keys(variableEnabledFieldMap).reduce<
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
.messageText {
|
||||
padding: 0 14px;
|
||||
background-color: rgba(249, 250, 251, 1);
|
||||
word-break: break-all;
|
||||
}
|
||||
.messageEmpty {
|
||||
width: 300px;
|
||||
|
||||
Reference in New Issue
Block a user