mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 07:26:47 +08:00
### What problem does this PR solve? feat: Add InvokeNode #1908 ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -38,7 +38,6 @@ const DynamicVariables = ({ nodeId }: IProps) => {
|
||||
title: t('key'),
|
||||
dataIndex: 'key',
|
||||
key: 'key',
|
||||
// width: 40,
|
||||
onCell: (record: IInvokeVariable) => ({
|
||||
record,
|
||||
editable: true,
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import Editor from '@monaco-editor/react';
|
||||
import { Form, Input, InputNumber, Select, Space } from 'antd';
|
||||
import { Form, Input, InputNumber, Select, Space, Switch } from 'antd';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useSetLlmSetting } from '../../hooks';
|
||||
import { IOperatorForm } from '../../interface';
|
||||
@ -63,6 +63,9 @@ const InvokeForm = ({ onValuesChange, form, node }: IOperatorForm) => {
|
||||
<Form.Item name={'proxy'} label={t('flow.proxy')}>
|
||||
<Input />
|
||||
</Form.Item>
|
||||
<Form.Item name={'clean_html'} label={t('flow.cleanHtml')}>
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
<DynamicVariables nodeId={node?.id}></DynamicVariables>
|
||||
</Form>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user