chore: migrate fe 250722

This commit is contained in:
tecvan
2025-07-22 13:35:49 +08:00
parent b46a0c6c12
commit 60d42100f0
330 changed files with 9761 additions and 19074 deletions

View File

@@ -91,7 +91,7 @@ export const EditorWithPromptKit: FC<EditorWithPromptKitProps> = props => {
const promptValue = useRef<string>(value || '');
const [FLAGS] = useFlags();
// 社区版暂不支持该功能
// 开源版暂不支持该功能
const isHitLLMPromptSkills = FLAGS['bot.automation.llm_prompt_skills'];
const { open, node: PromptLibrary } = usePromptLibraryModal({
@@ -158,7 +158,7 @@ export const EditorWithPromptKit: FC<EditorWithPromptKitProps> = props => {
<InputSlotWidget mode="input" />
<LibraryBlockWidget
{
// 社区版暂不支持该功能
// 开源版暂不支持该功能
...(isHitLLMPromptSkills
? {
librarys: libraries,
@@ -179,7 +179,7 @@ export const EditorWithPromptKit: FC<EditorWithPromptKitProps> = props => {
/>
<HighlightExpressionOnActive />
{/* 社区版暂不支持该功能 */}
{/* 开源版暂不支持该功能 */}
{isHitLLMPromptSkills ? (
<ContentSearchPopover
variableTree={variableTree}