chore: migrate fe 250722
This commit is contained in:
@@ -26,7 +26,7 @@ export interface CreatorProps {
|
||||
|
||||
export const Creator: FC<CreatorProps> = ({ avatar, name, extra }) => (
|
||||
<div className="flex items-center gap-x-[4px] h-[16px] coz-fg-secondary text-[12px] leading-16px">
|
||||
{/* 社区版无多人协作功能,不展示资源所有者信息 */}
|
||||
{/* 开源版无多人协作功能,不展示资源所有者信息 */}
|
||||
{IS_OPEN_SOURCE ? null : (
|
||||
<>
|
||||
<Avatar className="w-[16px] h-[16px] flex-shrink-0" src={avatar} />
|
||||
|
||||
@@ -38,7 +38,7 @@ export const IntelligenceTag: React.FC<IntelligenceTagProps> = ({
|
||||
</Tag>
|
||||
);
|
||||
}
|
||||
// 社区版暂不支持该功能
|
||||
// 开源版暂不支持该功能
|
||||
if (intelligenceType === IntelligenceType.DouyinAvatarBot) {
|
||||
return (
|
||||
<Tag color="red" size="small" className="w-fit">
|
||||
|
||||
@@ -29,7 +29,7 @@ export enum DevelopCustomTypeStatus {
|
||||
All = 0,
|
||||
Project = 1,
|
||||
Agent = 2,
|
||||
DouyinAvatarBot = 3, // single agent 类型的抖音分身 社区版暂不支持该功能
|
||||
DouyinAvatarBot = 3, // single agent 类型的抖音分身 开源版暂不支持该功能
|
||||
}
|
||||
|
||||
export interface DraftIntelligenceList {
|
||||
|
||||
@@ -39,7 +39,7 @@ export const KnowledgeUploadPage = () => {
|
||||
UnitType.TEXT_DOC) as UnitType;
|
||||
const opt = (locationSearchParams.get('opt') || OptType.ADD) as OptType;
|
||||
const docID = locationSearchParams.get('doc_id') || '';
|
||||
// 社区版暂不支持该功能
|
||||
// 开源版暂不支持该功能
|
||||
const isDouyinBot =
|
||||
locationSearchParams.get('is_douyin') === 'true' ? true : false;
|
||||
const { dataset_id, space_id } = useParams();
|
||||
|
||||
@@ -75,7 +75,7 @@ export const usePromptConfig: UseEntityConfigHook = ({
|
||||
usePromptConfiguratorModal({
|
||||
spaceId,
|
||||
source: 'resource_library',
|
||||
// 社区版暂不支持该功能
|
||||
// 开源版暂不支持该功能
|
||||
enableDiff: FLAGS['bot.studio.prompt_diff'],
|
||||
onUpdateSuccess: reloadList,
|
||||
onDiff: ({ libraryId }) => {
|
||||
|
||||
@@ -77,7 +77,7 @@ export const useWorkflowConfig: UseEntityConfigHook = ({
|
||||
>
|
||||
{I18n.t('library_resource_type_workflow')}
|
||||
</Menu.Item>
|
||||
{/* 社区版本暂时不支持对话流 */}
|
||||
{/* 开源版本暂时不支持对话流 */}
|
||||
{!IS_OPEN_SOURCE ? (
|
||||
<Menu.Item
|
||||
data-testid="workspace.library.header.create.chatflow"
|
||||
|
||||
Reference in New Issue
Block a user