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

@ -33,6 +33,7 @@ import QWeatherForm from '../form/qweather-form';
import RelevantForm from '../form/relevant-form';
import RetrievalForm from '../form/retrieval-form/next';
import RewriteQuestionForm from '../form/rewrite-question-form';
import { StringTransformForm } from '../form/string-transform-form';
import SwitchForm from '../form/switch-form';
import TavilyForm from '../form/tavily-form';
import TemplateForm from '../form/template-form';
@ -388,6 +389,11 @@ export function useFormConfigMap() {
defaultValues: {},
schema: z.object({}),
},
[Operator.StringTransform]: {
component: StringTransformForm,
defaultValues: {},
schema: z.object({}),
},
};
return FormConfigMap;