Add DeepseekV3.2 of Tongyi-Qianwen and remove unused code (#11898)

### What problem does this PR solve?

Add DeepseekV3.2 of Tongyi-Qianwen and remove unused code

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
TeslaZY
2025-12-11 13:55:01 +08:00
committed by GitHub
parent e3cfe8e848
commit bd0eff2954
5 changed files with 11 additions and 9 deletions

View File

@ -26,9 +26,7 @@ export const MetadataFilterSchema = {
}),
)
.optional(),
semi_auto: z
.array(z.string()) // 修改为字符串数组
.optional(),
semi_auto: z.array(z.string()).optional(),
})
.optional(),
};

View File

@ -38,7 +38,7 @@ export function MetadataSemiAutoFields({
const add = useCallback(
(key: string) => () => {
append(key); // 直接添加字符串而不是对象
append(key);
},
[append],
);
@ -66,7 +66,6 @@ export function MetadataSemiAutoFields({
</div>
<div className="space-y-5">
{fields.map((field, index) => {
// 修改字段名称以直接引用数组元素
const typeField = `${name}.${index}`;
return (
<section key={field.id} className="flex gap-2">