fix(style): imgs overflow style on chat

This commit is contained in:
jialin
2025-06-27 13:43:40 +08:00
parent 85754ccfb5
commit 5861508153
5 changed files with 36 additions and 11 deletions
@@ -187,11 +187,13 @@ const AddModal: FC<AddModalProps> = (props) => {
};
const getDefaultSpec = (item: any) => {
const defaultSpec = item.evaluateResult?.default_spec || {};
return _.omit(defaultSpec, [
'cpu_offloading',
'distributed_inference_across_workers'
const defaultSpec = _.get(item.evaluateResult?.default_spec, [
'backend_version',
'backend_parameters',
'env'
]);
return defaultSpec;
};
const getCategory = (item: any) => {