Feat: Add StringTransform operator #3221 (#8520)

### What problem does this PR solve?

Feat: Add StringTransform operator #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-06-27 09:27:28 +08:00
committed by GitHub
parent 2990779d59
commit f7b6c4ca99
9 changed files with 273 additions and 8 deletions

View File

@ -1,6 +1,6 @@
import { IconFont } from '@/components/icon-font';
import { cn } from '@/lib/utils';
import { CirclePlay, MessageSquareMore } from 'lucide-react';
import { CirclePlay } from 'lucide-react';
import { Operator } from './constant';
interface IProps {
@ -19,7 +19,8 @@ export const OperatorIconMap = {
[Operator.Switch]: 'condition',
[Operator.Code]: 'code-set',
[Operator.Agent]: 'agent-ai',
[Operator.UserFillUp]: MessageSquareMore,
[Operator.UserFillUp]: 'await',
[Operator.StringTransform]: 'a-textprocessing',
// [Operator.Relevant]: BranchesOutlined,
// [Operator.RewriteQuestion]: FormOutlined,
// [Operator.KeywordExtract]: KeywordIcon,