Files
ragflow/web/src/components/webhook-response-status.tsx
balibabu 5ba51b21c9 Feat: When the webhook returns a field in streaming format, the message displays the status field. #10427 (#12075)
### What problem does this PR solve?

Feat: When the webhook returns a field in streaming format, the message
displays the status field. #10427

### Type of change


- [x] New Feature (non-breaking change which adds functionality)

Co-authored-by: balibabu <assassin_cike@163.com>
2025-12-22 14:37:39 +08:00

20 lines
478 B
TypeScript

import { useTranslation } from 'react-i18next';
import { RAGFlowFormItem } from './ragflow-form';
import { Input } from './ui/input';
type WebHookResponseStatusFormFieldProps = {
name: string;
};
export function WebHookResponseStatusFormField({
name,
}: WebHookResponseStatusFormFieldProps) {
const { t } = useTranslation();
return (
<RAGFlowFormItem name={name} label={t('flow.webhook.status')}>
<Input type="number"></Input>
</RAGFlowFormItem>
);
}