@for (connection of connections(); track connection.key) { @if (connection.type === 'edge') { }
@if (!connection.readonly && connection.type === 'edge') { } @if (connection.type === 'toolset') { }
} @for (node of nodes(); track node.key) {
@switch (node.type) { @case ('agent') { } @case ('knowledge') { } @case ('toolset') { } @case ('workflow') { } } @if (!node.parentId && rootAgent().key !== node.key) {
}
@if (executions()[node.key]?.length > 1) {
{{ executions()[node.key].length }}
} @if (selectAgentStatus(node.key) === eXpertAgentExecutionEnum.RUNNING) { }
@if (executions()[node.key]) { @for (execution of executions()[node.key]; track execution.id) { @if (execution.messages) { } } }
} @for (group of xperts(); track group.key + group.hash) {
@if (isDisableOutput(group)) { } {{ group.entity.title || group.entity.name }}
@if (group.expanded) { } @else { }
} @for (group of groups(); track group.key) {
{{ group.entity.title }}
}
@if (showFeatures()) {
}
@if (node.type === 'agent' || node.type === 'workflow') {
{{ 'PAC.ACTIONS.Copy' | translate: { Default: 'Copy' } }}
{{ 'PAC.ACTIONS.Duplicate' | translate: { Default: 'Duplicate' } }}
} @if (!node.readonly) {
{{ 'PAC.ACTIONS.Delete' | translate: { Default: 'Delete' } }}
}
{{ 'PAC.ACTIONS.HelpLink' | translate: { Default: 'Help Link' } }}
@if (node.expanded) { {{ 'PAC.ACTIONS.Collapse' | translate: { Default: 'Collapse' } }} } @else { {{ 'PAC.ACTIONS.Expand' | translate: { Default: 'Expand' } }} }
{{ 'PAC.ACTIONS.Remove' | translate: { Default: 'Remove' } }}