Feat: Convert the arguments parameter of the code operator to a dictionary #3221 (#8623)

### What problem does this PR solve?

Feat: Convert the arguments parameter of the code operator to a
dictionary #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-02 18:34:21 +08:00
committed by GitHub
parent 695bfe34a2
commit 040e4ad8a5
11 changed files with 63 additions and 125 deletions

View File

@ -661,16 +661,12 @@ export const initialIterationStartValues = {
};
export const initialCodeValues = {
lang: 'python',
lang: ProgrammingLanguage.Python,
script: CodeTemplateStrMap[ProgrammingLanguage.Python],
arguments: [
{
name: 'arg1',
},
{
name: 'arg2',
},
],
arguments: {
arg1: '',
arg2: '',
},
};
export const initialWaitingDialogueValues = {};