Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
ability to click classifier during workflow execution (#23079)
znna70d59d4a62c
diff --git a/web/app/components/workflow/nodes/question-classifier/components/class-list.tsx b/web/app/components/workflow/nodes/question-classifier/components/class-list.tsxindex d0297cfd747..8758490beea 100644--- a/web/app/components/workflow/nodes/question-classifier/components/class-list.tsx+++ b/web/app/components/workflow/nodes/question-classifier/components/class-list.tsx@@ -64,55 +64,56 @@ const ClassList: FC<Props> = ({const handleSideWidth = 3// Todo Remove; edit topic namereturn (- <ReactSortable- list={list.map(item => ({ ...item }))}- setList={handleSortTopic}- handle='.handle'- ghostClass='bg-components-panel-bg'- animation={150}- disabled={readonly}- className='space-y-2'- >- {- list.map((item, index) => {- const canDrag = (() => {- if (readonly)- return false+ <>+ <ReactSortable+ list={list.map(item => ({ ...item }))}+ setList={handleSortTopic}+ handle='.handle'+ ghostClass='bg-components-panel-bg'+ animation={150}+ disabled={readonly}+ className='space-y-2'+ >+ {+ list.map((item, index) => {+ const canDrag = (() => {+ if (readonly)+ return false- return topicCount >= 2- })()- return (- <div key={item.id}- className={cn(- 'group relative rounded-[10px] bg-components-panel-bg',- `-ml-${handleSideWidth} min-h-[40px] px-0 py-0`,- )}>- <div >- <Item- className={cn(canDrag && 'handle')}- headerClassName={cn(canDrag && 'cursor-grab')}- nodeId={nodeId}- key={list[index].id}- payload={item}- onChange={handleClassChange(index)}- onRemove={handleRemoveClass(index)}- index={index + 1}- readonly={readonly}- filterVar={filterVar}- />+ return topicCount >= 2+ })()+ return (+ <div key={item.id}+ className={cn(+ 'group relative rounded-[10px] bg-components-panel-bg',+ `-ml-${handleSideWidth} min-h-[40px] px-0 py-0`,+ )}>+ <div >+ <Item+ className={cn(canDrag && 'handle')}+ headerClassName={cn(canDrag && 'cursor-grab')}+ nodeId={nodeId}+ key={list[index].id}+ payload={item}+ onChange={handleClassChange(index)}+ onRemove={handleRemoveClass(index)}+ index={index + 1}+ readonly={readonly}+ filterVar={filterVar}+ />+ </div></div>- </div>- )- })- }+ )+ })+ }+ </ReactSortable>{!readonly && (<AddButtononClick={handleAddClass}text={t(`${i18nPrefix}.addClass`)}/>)}-- </ReactSortable>+ </>)}export default React.memo(ClassList)