feat: Support for Chat Flow & Agent Support for binding a single chat flow (#765)
Co-authored-by: Yu Yang <72337138+tomasyu985@users.noreply.github.com> Co-authored-by: zengxiaohui <csu.zengxiaohui@gmail.com> Co-authored-by: lijunwen.gigoo <lijunwen.gigoo@bytedance.com> Co-authored-by: lvxinyu.1117 <lvxinyu.1117@bytedance.com> Co-authored-by: liuyunchao.0510 <liuyunchao.0510@bytedance.com> Co-authored-by: haozhenfei <37089575+haozhenfei@users.noreply.github.com> Co-authored-by: July <jiangxujin@bytedance.com> Co-authored-by: tecvan-fe <fanwenjie.fe@bytedance.com>
This commit is contained in:
@@ -129,10 +129,8 @@ export const BotHeader: React.FC<BotHeaderProps> = props => {
|
||||
editBotInfoFn={editBotInfoFn}
|
||||
deployButton={props.deployButton}
|
||||
/>
|
||||
{/** mode selector */}
|
||||
{diffTask || IS_OPEN_SOURCE ? null : (
|
||||
<ModeSelect optionList={props.modeOptionList} />
|
||||
)}
|
||||
{/** 模式选择器 */}
|
||||
{diffTask ? null : <ModeSelect optionList={props.modeOptionList} />}
|
||||
</div>
|
||||
|
||||
{/* 2. Middle bot menu area - offline */}
|
||||
|
||||
@@ -45,4 +45,6 @@ function SwitchWithDesc({
|
||||
);
|
||||
}
|
||||
|
||||
export const FormSwitch = withField(SwitchWithDesc);
|
||||
export const FormSwitch = withField(SwitchWithDesc) as ReturnType<
|
||||
typeof withField
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user