feat: chatflow test run 支持 chat (#687)

Co-authored-by: zengxiaohui <csu.zengxiaohui@gmail.com>
This commit is contained in:
Yu Yang
2025-08-11 16:55:11 +08:00
committed by GitHub
parent 73990d57e9
commit 414c98940d
14 changed files with 77 additions and 83 deletions

View File

@ -55,13 +55,8 @@ const flowModeOptions = [
label: I18n.t('wf_chatflow_76'),
value: WorkflowMode.ChatFlow,
},
].filter(item => {
// The open-source version does not currently support conversation streaming
if (item.value === WorkflowMode.ChatFlow && IS_OPEN_SOURCE) {
return false;
}
return true;
});
];
const WorkflowModalFilter: FC<WorkFlowModalModeProps> = props => {
const context = useContext(WorkflowModalContext);
const { i18nText, ModalI18nKey } = useI18nText();

View File

@ -80,8 +80,7 @@ export const CreateWorkflowBtn: FC<
return (
<>
{/* will support soon */}
{showSingleButton || IS_OPEN_SOURCE ? (
{showSingleButton ? (
<Button
className={className}
color="hgltplus"