mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-04 01:25:07 +08:00
### 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:
@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user