Fix: Fixed the issue where newly added tool operators would disappear after editing the form #10013 (#10016)

### What problem does this PR solve?

Fix: Fixed the issue where newly added tool operators would disappear
after editing the form #10013

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2025-09-10 15:55:59 +08:00
committed by GitHub
parent 127af4e45c
commit bbe6ed3b90
2 changed files with 9 additions and 10 deletions

View File

@ -57,13 +57,6 @@ const FormSchema = z.object({
// )
// .optional(),
message_history_window_size: z.coerce.number(),
tools: z
.array(
z.object({
component_name: z.string(),
}),
)
.optional(),
...LlmSettingSchema,
max_retries: z.coerce.number(),
delay_after_error: z.coerce.number().optional(),