Feat: Add a tool operator node from the agent form #3221 (#8344)

### What problem does this PR solve?
Feat: Add a tool operator node from the agent form #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-06-18 16:40:08 +08:00
committed by GitHub
parent 3671d20e43
commit e96cf89524
9 changed files with 207 additions and 23 deletions

View File

@ -84,6 +84,7 @@ export enum Operator {
Code = 'Code',
WaitingDialogue = 'WaitingDialogue',
Agent = 'Agent',
Tool = 'Tool',
}
export const SwitchLogicOperatorOptions = ['and', 'or'];
@ -809,6 +810,7 @@ export const NodeMap = {
[Operator.Code]: 'ragNode',
[Operator.WaitingDialogue]: 'ragNode',
[Operator.Agent]: 'agentNode',
[Operator.Tool]: 'toolNode',
};
export const LanguageOptions = [
@ -3012,4 +3014,5 @@ export const NoDebugOperatorsList = [
export enum NodeHandleId {
Start = 'start',
End = 'end',
Tool = 'tool',
}