Feat: Add memory multi-select dropdown to recall and message operator forms. #4213 (#12106)

### What problem does this PR solve?

Feat: Add memory multi-select dropdown to recall and message operator
forms. #4213

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-12-23 11:54:32 +08:00
committed by GitHub
parent 712d537d66
commit 9e31631d8f
10 changed files with 95 additions and 13 deletions

View File

@ -1,3 +1,4 @@
import { MemoriesFormField } from '@/components/memories-form-field';
import { BlockButton, Button } from '@/components/ui/button';
import {
Form,
@ -40,6 +41,7 @@ function MessageForm({ node }: INextOperatorForm) {
output_format: z.string().optional(),
auto_play: z.boolean().optional(),
status: z.number().optional(),
memory_ids: z.array(z.string()).optional(),
});
const form = useForm({
@ -159,6 +161,7 @@ function MessageForm({ node }: INextOperatorForm) {
</FormItem>
</>
)}
<MemoriesFormField label={t('flow.saveToMemory')}></MemoriesFormField>
</FormWrapper>
</Form>
);