Feat: Fixed the issue where the newly created agent begin node displayed "undefined". #10427 (#12348)

### What problem does this PR solve?
Feat: Fixed the issue where the newly created agent begin node displayed
"undefined". #10427

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-12-31 11:19:33 +08:00
committed by GitHub
parent ae4692a845
commit a07e947644
5 changed files with 28 additions and 16 deletions

View File

@ -1,7 +1,7 @@
import { FileUploadProps } from '@/components/file-upload';
import { useHandleFilterSubmit } from '@/components/list-filter-bar/use-handle-filter-submit';
import message from '@/components/ui/message';
import { AgentGlobals } from '@/constants/agent';
import { AgentGlobals, initialBeginValues } from '@/constants/agent';
import {
IAgentLogsRequest,
IAgentLogsResponse,
@ -76,6 +76,7 @@ export const EmptyDsl = {
data: {
label: 'Begin',
name: 'begin',
form: initialBeginValues,
},
sourcePosition: 'left',
targetPosition: 'right',